diff options
| author | malinero <malinero@protonmail.com> | 2022-10-02 10:24:10 +0200 |
|---|---|---|
| committer | malinero <malinero@protonmail.com> | 2022-10-02 10:40:07 +0200 |
| commit | 8cf76cf7c27ee5c2cbfdf644c2518451ce0c3791 (patch) | |
| tree | 2e272c705cd569a92325437a453d85d980adf991 /pages | |
| parent | 6441d992797490a48538b7a3c78e3fa512a0bb29 (diff) | |
| download | monzero-gui-8cf76cf7c27ee5c2cbfdf644c2518451ce0c3791.tar.gz monzero-gui-8cf76cf7c27ee5c2cbfdf644c2518451ce0c3791.tar.xz monzero-gui-8cf76cf7c27ee5c2cbfdf644c2518451ce0c3791.zip | |
Android: hide mining tab
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/Advanced.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pages/Advanced.qml b/pages/Advanced.qml index 6aa8ac46..e41390db 100644 --- a/pages/Advanced.qml +++ b/pages/Advanced.qml @@ -52,6 +52,7 @@ ColumnLayout { active: state == "Mining" text: qsTr("Mining") + translationManager.emptyString onSelected: state = "Mining" + visible: !isAndroid } MoneroComponents.NavbarItem { active: state == "Prove" @@ -81,7 +82,7 @@ ColumnLayout { Layout.fillWidth: true Layout.preferredHeight: panelHeight color: "transparent" - state: "Mining" + state: isAndroid ? "Prove" : "Mining" onCurrentViewChanged: { if (previousView) { @@ -120,7 +121,7 @@ ColumnLayout { StackView { id: stackView - initialItem: stateView.miningView + initialItem: isAndroid ? stateView.prooveView : stateView.miningView anchors.fill: parent clip: false // otherwise animation will affect left panel |
