From 6441d992797490a48538b7a3c78e3fa512a0bb29 Mon Sep 17 00:00:00 2001 From: malinero Date: Sun, 2 Oct 2022 09:46:06 +0200 Subject: [PATCH 1/5] Android: useRemoteNode default to true --- main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.qml b/main.qml index 4be6be06..abf08edb 100644 --- a/main.qml +++ b/main.qml @@ -1395,7 +1395,7 @@ ApplicationWindow { property bool historyShowAdvanced: false property bool historyHumanDates: true property string blockchainDataDir: "" - property bool useRemoteNode: false + property bool useRemoteNode: isAndroid property string remoteNodeAddress: "" // TODO: drop after v0.17.2.0 release property string remoteNodesSerialized: JSON.stringify({ selected: 0, From 8cf76cf7c27ee5c2cbfdf644c2518451ce0c3791 Mon Sep 17 00:00:00 2001 From: malinero Date: Sun, 2 Oct 2022 10:24:10 +0200 Subject: [PATCH 2/5] Android: hide mining tab --- pages/Advanced.qml | 5 +++-- 1 file 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 From 499eeee59a890409700041d51e18143344c3105f Mon Sep 17 00:00:00 2001 From: malinero Date: Sun, 2 Oct 2022 10:24:39 +0200 Subject: [PATCH 3/5] Android: hide log tab --- pages/settings/Settings.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/settings/Settings.qml b/pages/settings/Settings.qml index fdf03ce6..414b61a1 100644 --- a/pages/settings/Settings.qml +++ b/pages/settings/Settings.qml @@ -74,6 +74,7 @@ ColumnLayout { active: settingsStateView.state == "Log" text: qsTr("Log") + translationManager.emptyString onSelected: settingsStateView.state = "Log" + visible: !isAndroid } MoneroComponents.NavbarItem { active: settingsStateView.state == "Info" From 22a15093163e1c50ec61d9840c4edf00c4bcdf21 Mon Sep 17 00:00:00 2001 From: malinero Date: Sun, 2 Oct 2022 10:24:58 +0200 Subject: [PATCH 4/5] Android: hide local node settings --- pages/settings/SettingsNode.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/settings/SettingsNode.qml b/pages/settings/SettingsNode.qml index ab3d49f1..e0ae009a 100644 --- a/pages/settings/SettingsNode.qml +++ b/pages/settings/SettingsNode.qml @@ -55,6 +55,7 @@ Rectangle{ Layout.fillWidth: true Layout.preferredHeight: 90 color: "transparent" + visible: !isAndroid Rectangle { id: localNodeDivider From 7954661100dddcecbf472d7f470d4b5a57a59f25 Mon Sep 17 00:00:00 2001 From: malinero Date: Sun, 2 Oct 2022 10:39:31 +0200 Subject: [PATCH 5/5] Android: disable simple mode --- wizard/WizardModeSelection.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/WizardModeSelection.qml b/wizard/WizardModeSelection.qml index 5411735c..eb6b36d4 100644 --- a/wizard/WizardModeSelection.qml +++ b/wizard/WizardModeSelection.qml @@ -41,7 +41,7 @@ Rectangle { property alias pageHeight: pageRoot.height property string viewName: "wizardModeSelection1" property bool portable: persistentSettings.portable - property bool simpleModeAvailable: !isTails && appWindow.persistentSettings.nettype == 0 + property bool simpleModeAvailable: !isTails && appWindow.persistentSettings.nettype == 0 && !isAndroid function applyWalletMode(mode, wizardState) { if (!persistentSettings.setPortable(portable)) {