diff options
| author | Fuwn <[email protected]> | 2025-03-17 05:36:30 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-03-17 05:36:30 -0700 |
| commit | 8218f393408a0abe97ae5a9d55479bfd62faca1c (patch) | |
| tree | e18c277f447e1837d483a18a8bf75c9d72da8a44 /Sora/Views/Settings/Section | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-8218f393408a0abe97ae5a9d55479bfd62faca1c.tar.xz sora-testing-8218f393408a0abe97ae5a9d55479bfd62faca1c.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section')
| -rw-r--r-- | Sora/Views/Settings/Section/SettingsSettingsView.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSettingsView.swift b/Sora/Views/Settings/Section/SettingsSettingsView.swift index 0916c99..ab6a31a 100644 --- a/Sora/Views/Settings/Section/SettingsSettingsView.swift +++ b/Sora/Views/Settings/Section/SettingsSettingsView.swift @@ -4,14 +4,14 @@ struct SettingsSettingsView: View { @EnvironmentObject var settings: SettingsManager var body: some View { - Toggle(isOn: $settings.enableICloudSync) { + Toggle(isOn: $settings.enableSync) { Text("Sync with iCloud") Text("Keep bookmarks, search history, and providers consistent across all your devices.") .font(.caption) } - .onChange(of: settings.enableICloudSync) { _, _ in - settings.syncToICloud() + .onChange(of: settings.enableSync) { _, _ in + settings.syncToCloud() } Button("Reset to Defaults") { |