re-disable experimental features

This commit is contained in:
Iuri Matias 2021-04-23 07:43:18 -04:00
parent 0e2ca770b8
commit 093f7cff7a
4 changed files with 13 additions and 13 deletions

View File

@ -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

View File

@ -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 () {

View File

@ -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
}
}
}

View File

@ -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