diff --git a/components/MenuBar.qml b/components/MenuBar.qml index cd8dcf8b..9ad2a54e 100644 --- a/components/MenuBar.qml +++ b/components/MenuBar.qml @@ -44,7 +44,6 @@ PlatformLabs.MenuBar { text: MoneroComponents.Style.blackTheme ? qsTr("Light Theme") : qsTr("Dark Theme") onTriggered: { MoneroComponents.Style.blackTheme = !MoneroComponents.Style.blackTheme; - persistentSettings.blackTheme = MoneroComponents.Style.blackTheme; } } PlatformLabs.MenuItem { diff --git a/components/TitleBar.qml b/components/TitleBar.qml index e74f228b..2378a388 100644 --- a/components/TitleBar.qml +++ b/components/TitleBar.qml @@ -173,7 +173,6 @@ Rectangle { onExited: parent.color = "transparent" onClicked: { MoneroComponents.Style.blackTheme = !MoneroComponents.Style.blackTheme; - persistentSettings.blackTheme = MoneroComponents.Style.blackTheme; } } } diff --git a/main.qml b/main.qml index c0e67eae..2920e221 100644 --- a/main.qml +++ b/main.qml @@ -1417,7 +1417,7 @@ ApplicationWindow { property bool lockOnUserInActivity: true property int walletMode: 2 property int lockOnUserInActivityInterval: 10 // minutes - property bool blackTheme: true + property bool blackTheme: MoneroComponents.Style.blackTheme property bool checkForUpdates: true property bool autosave: true property int autosaveMinutes: 10 diff --git a/pages/settings/SettingsLayout.qml b/pages/settings/SettingsLayout.qml index e0cc3389..8cf6cb8b 100644 --- a/pages/settings/SettingsLayout.qml +++ b/pages/settings/SettingsLayout.qml @@ -89,7 +89,6 @@ Rectangle { toggleOnClick: false onClicked: { MoneroComponents.Style.blackTheme = !MoneroComponents.Style.blackTheme; - persistentSettings.blackTheme = MoneroComponents.Style.blackTheme; } }