diff options
| author | Fuwn <[email protected]> | 2025-03-15 22:19:01 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-03-15 22:19:01 -0700 |
| commit | 808f34a5ac6e63f6a1abeeb98c03e625caa23cae (patch) | |
| tree | a737d81d7ee343f26e41c2d47372606110976d2e /Sora/Views/Settings/Section/SettingsSettingsView.swift | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-808f34a5ac6e63f6a1abeeb98c03e625caa23cae.tar.xz sora-testing-808f34a5ac6e63f6a1abeeb98c03e625caa23cae.zip | |
feat: Development commit
Diffstat (limited to 'Sora/Views/Settings/Section/SettingsSettingsView.swift')
| -rw-r--r-- | Sora/Views/Settings/Section/SettingsSettingsView.swift | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Sora/Views/Settings/Section/SettingsSettingsView.swift b/Sora/Views/Settings/Section/SettingsSettingsView.swift index 404d252..8062a90 100644 --- a/Sora/Views/Settings/Section/SettingsSettingsView.swift +++ b/Sora/Views/Settings/Section/SettingsSettingsView.swift @@ -4,6 +4,16 @@ struct SettingsSettingsView: View { @EnvironmentObject var settings: SettingsManager var body: some View { + Toggle(isOn: $settings.enableICloudSync) { + Text("Sync with iCloud") + + Text("Keep bookmarks, search history, and providers up to date on all your devices.") + .font(.caption) + } + .onChange(of: settings.enableICloudSync) { _, _ in + settings.syncToICloud() + } + Button("Reset to Defaults") { settings.resetToDefaults() } |