mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 20:40:18 +00:00
feat(@settings): adjust feature flags for app settings
This commit is contained in:
parent
7754822bc8
commit
895a0b5d47
@ -54,7 +54,7 @@ QtObject {
|
||||
property var permissionList: dappPermissionsModule.permissions
|
||||
|
||||
property bool browserMenuItemEnabled: localAccountSensitiveSettings.isBrowserEnabled
|
||||
property bool appsMenuItemsEnabled: localAccountSensitiveSettings.isMultiNetworkEnabled
|
||||
property bool appsMenuItemsEnabled: localAccountSensitiveSettings.isWalletEnabled
|
||||
|
||||
property ListModel mainMenuItems: ListModel {
|
||||
Component.onCompleted: {
|
||||
|
@ -3,6 +3,9 @@ import QtQuick 2.13
|
||||
QtObject {
|
||||
id: root
|
||||
|
||||
property var accountSensitiveSettings: localAccountSensitiveSettings
|
||||
property bool isMultiNetworkEnabled: accountSensitiveSettings.isMultiNetworkEnabled
|
||||
|
||||
property var layer1Networks: networksModule.layer1
|
||||
property var layer2Networks: networksModule.layer2
|
||||
property var testNetworks: networksModule.test
|
||||
|
@ -73,6 +73,7 @@ Column {
|
||||
StatusSettingsLineButton {
|
||||
text: qsTr("Networks")
|
||||
height: 64
|
||||
visible: root.walletStore.isMultiNetworkEnabled
|
||||
onClicked: goToNetworksView()
|
||||
}
|
||||
|
||||
@ -82,6 +83,7 @@ Column {
|
||||
anchors.leftMargin: -Style.current.padding
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: -Style.current.padding
|
||||
visible: root.walletStore.isMultiNetworkEnabled
|
||||
}
|
||||
|
||||
Item {
|
||||
|
Loading…
x
Reference in New Issue
Block a user