diff options
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index fce19dec..ec4c0cd8 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -435,6 +435,7 @@ Rectangle { MoneroComponents.MenuButton { id: merchantButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Merchant") + translationManager.emptyString @@ -449,7 +450,7 @@ Rectangle { } Rectangle { - visible: merchantButton.present + visible: merchantButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -484,6 +485,7 @@ Rectangle { // ------------- Advanced tab --------------- MoneroComponents.MenuButton { id: advancedButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Advanced") + translationManager.emptyString @@ -494,8 +496,9 @@ Rectangle { parent.previousButton = advancedButton } } + Rectangle { - visible: advancedButton.present + visible: advancedButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -506,7 +509,7 @@ Rectangle { // ------------- Mining tab --------------- MoneroComponents.MenuButton { id: miningButton - visible: !isAndroid && !isIOS + visible: !isAndroid && !isIOS && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Mining") + translationManager.emptyString @@ -521,7 +524,7 @@ Rectangle { } Rectangle { - visible: miningButton.present + visible: miningButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -531,6 +534,7 @@ Rectangle { // ------------- TxKey tab --------------- MoneroComponents.MenuButton { id: txkeyButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Prove/check") + translationManager.emptyString @@ -544,7 +548,7 @@ Rectangle { } } Rectangle { - visible: txkeyButton.present + visible: txkeyButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -554,6 +558,7 @@ Rectangle { // ------------- Shared RingDB tab --------------- MoneroComponents.MenuButton { id: sharedringdbButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Shared RingDB") + translationManager.emptyString @@ -567,7 +572,7 @@ Rectangle { } } Rectangle { - visible: sharedringdbButton.present + visible: sharedringdbButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -579,6 +584,7 @@ Rectangle { // ------------- Sign/verify tab --------------- MoneroComponents.MenuButton { id: signButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Sign/verify") + translationManager.emptyString @@ -592,7 +598,7 @@ Rectangle { } } Rectangle { - visible: signButton.present + visible: signButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 @@ -624,6 +630,7 @@ Rectangle { // ------------- Sign/verify tab --------------- MoneroComponents.MenuButton { id: keysButton + visible: appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right text: qsTr("Seed & Keys") + translationManager.emptyString @@ -637,7 +644,7 @@ Rectangle { } } Rectangle { - visible: settingsButton.present + visible: settingsButton.present && appWindow.walletMode >= 2 anchors.left: parent.left anchors.right: parent.right anchors.leftMargin: 16 |
