diff --git a/ui/app/AppLayouts/Chat/components/LeftTabBottomButtons.qml b/ui/app/AppLayouts/Chat/components/LeftTabBottomButtons.qml index c8358763dd..35d2cd6076 100644 --- a/ui/app/AppLayouts/Chat/components/LeftTabBottomButtons.qml +++ b/ui/app/AppLayouts/Chat/components/LeftTabBottomButtons.qml @@ -20,7 +20,7 @@ Column { StatusIconTabButton { id: walletBtn - enabled: isExperimental === "1" || appSettings.walletEnabled + enabled: isExperimental === "1" || appSettings.isWalletEnabled icon.name: "wallet" icon.width: 20 icon.height: 20 @@ -29,7 +29,7 @@ Column { StatusIconTabButton { id: browserBtn - enabled: isExperimental === "1" || appSettings.browserEnabled + enabled: isExperimental === "1" || appSettings.isBrowserEnabled icon.name: "compass" icon.width: 22 icon.height: 22 diff --git a/ui/app/AppLayouts/Profile/LeftTab/Menu.qml b/ui/app/AppLayouts/Profile/LeftTab/Menu.qml index c00d7b0fb3..7a6865a355 100644 --- a/ui/app/AppLayouts/Profile/LeftTab/Menu.qml +++ b/ui/app/AppLayouts/Profile/LeftTab/Menu.qml @@ -51,7 +51,7 @@ ScrollView { text: modelData .text source: "../../../img/profile/" + modelData.filename active: profileMenu.profileCurrentIndex === modelData.id - visible: modelData.ifEnabled !== "browser" || appSettings.browserEnabled + visible: modelData.ifEnabled !== "browser" || appSettings.isBrowserEnabled Layout.fillWidth: true width: profileMenu.width onClicked: function () { diff --git a/ui/app/AppLayouts/Profile/Sections/AdvancedContainer.qml b/ui/app/AppLayouts/Profile/Sections/AdvancedContainer.qml index da4141b79b..591b7f531f 100644 --- a/ui/app/AppLayouts/Profile/Sections/AdvancedContainer.qml +++ b/ui/app/AppLayouts/Profile/Sections/AdvancedContainer.qml @@ -68,13 +68,13 @@ Item { //% "Wallet" text: qsTrId("wallet") isSwitch: true - switchChecked: appSettings.walletEnabled + switchChecked: appSettings.isWalletEnabled onClicked: { - if (!appSettings.walletEnabled) { - confirmationPopup.settingsProp = "walletEnabled" + if (!appSettings.isWalletEnabled) { + confirmationPopup.settingsProp = "isWalletEnabled" confirmationPopup.open() } else { - appSettings.walletEnabled = false + appSettings.isWalletEnabled = false } } } @@ -83,13 +83,13 @@ Item { //% "Dapp Browser" text: qsTrId("dapp-browser") isSwitch: true - switchChecked: appSettings.browserEnabled + switchChecked: appSettings.isBrowserEnabled onClicked: { - if (!appSettings.browserEnabled) { - confirmationPopup.settingsProp = "browserEnabled" + if (!appSettings.isBrowserEnabled) { + confirmationPopup.settingsProp = "isBrowserEnabled" confirmationPopup.open() } else { - appSettings.browserEnabled = false + appSettings.isBrowserEnabled = false } } } diff --git a/ui/app/AppMain.qml b/ui/app/AppMain.qml index a00de851b8..11fb1f12d5 100644 --- a/ui/app/AppMain.qml +++ b/ui/app/AppMain.qml @@ -109,9 +109,9 @@ RowLayout { property var walletSplitView property var profileSplitView property bool communitiesEnabled: false - property bool walletEnabled: false + property bool isWalletEnabled: false property bool nodeManagementEnabled: false - property bool browserEnabled: false + property bool isBrowserEnabled: false property bool displayChatImages: false property bool useCompactMode: true property bool timelineEnabled: true