re-disable experimental features
This commit is contained in:
parent
0e2ca770b8
commit
093f7cff7a
|
@ -20,7 +20,7 @@ Column {
|
||||||
|
|
||||||
StatusIconTabButton {
|
StatusIconTabButton {
|
||||||
id: walletBtn
|
id: walletBtn
|
||||||
enabled: isExperimental === "1" || appSettings.walletEnabled
|
enabled: isExperimental === "1" || appSettings.isWalletEnabled
|
||||||
icon.name: "wallet"
|
icon.name: "wallet"
|
||||||
icon.width: 20
|
icon.width: 20
|
||||||
icon.height: 20
|
icon.height: 20
|
||||||
|
@ -29,7 +29,7 @@ Column {
|
||||||
|
|
||||||
StatusIconTabButton {
|
StatusIconTabButton {
|
||||||
id: browserBtn
|
id: browserBtn
|
||||||
enabled: isExperimental === "1" || appSettings.browserEnabled
|
enabled: isExperimental === "1" || appSettings.isBrowserEnabled
|
||||||
icon.name: "compass"
|
icon.name: "compass"
|
||||||
icon.width: 22
|
icon.width: 22
|
||||||
icon.height: 22
|
icon.height: 22
|
||||||
|
|
|
@ -51,7 +51,7 @@ ScrollView {
|
||||||
text: modelData .text
|
text: modelData .text
|
||||||
source: "../../../img/profile/" + modelData.filename
|
source: "../../../img/profile/" + modelData.filename
|
||||||
active: profileMenu.profileCurrentIndex === modelData.id
|
active: profileMenu.profileCurrentIndex === modelData.id
|
||||||
visible: modelData.ifEnabled !== "browser" || appSettings.browserEnabled
|
visible: modelData.ifEnabled !== "browser" || appSettings.isBrowserEnabled
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
width: profileMenu.width
|
width: profileMenu.width
|
||||||
onClicked: function () {
|
onClicked: function () {
|
||||||
|
|
|
@ -68,13 +68,13 @@ Item {
|
||||||
//% "Wallet"
|
//% "Wallet"
|
||||||
text: qsTrId("wallet")
|
text: qsTrId("wallet")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: appSettings.walletEnabled
|
switchChecked: appSettings.isWalletEnabled
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (!appSettings.walletEnabled) {
|
if (!appSettings.isWalletEnabled) {
|
||||||
confirmationPopup.settingsProp = "walletEnabled"
|
confirmationPopup.settingsProp = "isWalletEnabled"
|
||||||
confirmationPopup.open()
|
confirmationPopup.open()
|
||||||
} else {
|
} else {
|
||||||
appSettings.walletEnabled = false
|
appSettings.isWalletEnabled = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -83,13 +83,13 @@ Item {
|
||||||
//% "Dapp Browser"
|
//% "Dapp Browser"
|
||||||
text: qsTrId("dapp-browser")
|
text: qsTrId("dapp-browser")
|
||||||
isSwitch: true
|
isSwitch: true
|
||||||
switchChecked: appSettings.browserEnabled
|
switchChecked: appSettings.isBrowserEnabled
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (!appSettings.browserEnabled) {
|
if (!appSettings.isBrowserEnabled) {
|
||||||
confirmationPopup.settingsProp = "browserEnabled"
|
confirmationPopup.settingsProp = "isBrowserEnabled"
|
||||||
confirmationPopup.open()
|
confirmationPopup.open()
|
||||||
} else {
|
} else {
|
||||||
appSettings.browserEnabled = false
|
appSettings.isBrowserEnabled = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,9 +109,9 @@ RowLayout {
|
||||||
property var walletSplitView
|
property var walletSplitView
|
||||||
property var profileSplitView
|
property var profileSplitView
|
||||||
property bool communitiesEnabled: false
|
property bool communitiesEnabled: false
|
||||||
property bool walletEnabled: false
|
property bool isWalletEnabled: false
|
||||||
property bool nodeManagementEnabled: false
|
property bool nodeManagementEnabled: false
|
||||||
property bool browserEnabled: false
|
property bool isBrowserEnabled: false
|
||||||
property bool displayChatImages: false
|
property bool displayChatImages: false
|
||||||
property bool useCompactMode: true
|
property bool useCompactMode: true
|
||||||
property bool timelineEnabled: true
|
property bool timelineEnabled: true
|
||||||
|
|
Loading…
Reference in New Issue