summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/Settings.qml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile-widgets/qml/Settings.qml')
-rw-r--r--mobile-widgets/qml/Settings.qml9
1 files changed, 3 insertions, 6 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml
index 68562a871..9f6f1f8cb 100644
--- a/mobile-widgets/qml/Settings.qml
+++ b/mobile-widgets/qml/Settings.qml
@@ -139,8 +139,7 @@ Kirigami.ScrollablePage {
enabled: subsurfaceTheme.currentTheme !== "Blue"
onClicked: {
blueTheme()
- prefs.theme = subsurfaceTheme.currentTheme
- manager.savePreferences()
+ PrefDisplay.theme = subsurfaceTheme.currentTheme
}
}
@@ -192,8 +191,7 @@ Kirigami.ScrollablePage {
enabled: subsurfaceTheme.currentTheme !== "Pink"
onClicked: {
pinkTheme()
- prefs.theme = subsurfaceTheme.currentTheme
- manager.savePreferences()
+ PrefDisplay.theme = subsurfaceTheme.currentTheme
}
}
@@ -244,8 +242,7 @@ Kirigami.ScrollablePage {
enabled: subsurfaceTheme.currentTheme !== "Dark"
onClicked: {
darkTheme()
- prefs.theme = subsurfaceTheme.currentTheme
- manager.savePreferences()
+ PrefDisplay.theme = subsurfaceTheme.currentTheme
}
}
}