summaryrefslogtreecommitdiff
path: root/Sora/Views/Settings
diff options
context:
space:
mode:
Diffstat (limited to 'Sora/Views/Settings')
-rw-r--r--Sora/Views/Settings/Section/SettingsSettingsView.swift6
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") {