diff options
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/Settings.qml | 4 | ||||
-rw-r--r-- | mobile-widgets/qml/main.qml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/Settings.qml b/mobile-widgets/qml/Settings.qml index 4ba414adf..484a69a67 100644 --- a/mobile-widgets/qml/Settings.qml +++ b/mobile-widgets/qml/Settings.qml @@ -363,10 +363,10 @@ Kirigami.ScrollablePage { } SsrfSwitch { id: developerButton - checked: prefs.developer + checked: PrefDisplay.show_developer Layout.preferredWidth: gridWidth * 0.25 onClicked: { - prefs.developer = checked + PrefDisplay.show_developer = checked } } } diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 1120750e8..bdd3335e3 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -361,7 +361,7 @@ if you have network connectivity and want to sync your data to cloud storage."), name: ":/icons/ic_adb.svg" } text: qsTr("Developer") - visible: prefs.developer + visible: PrefDisplay.show_developer Kirigami.Action { text: qsTr("App log") onTriggered: { |