From 7e0e489d453600f5de3e359a23916eb6fb10116c Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sat, 28 Dec 2019 16:25:48 +0100 Subject: mobile-widgets/qml: "Add dive manually" is always allowed Since the divelist is only visible if online/offline (CS_VERIFIED/CS_NOCLOUD), there is no need to check that to enable "Add dive manually". Signed-off-by: Jan Iversen Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/main.qml | 2 -- 1 file changed, 2 deletions(-) diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 5f385a3aa..cb8e2e5df 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -275,8 +275,6 @@ Kirigami.ApplicationWindow { name: ":/icons/ic_add.svg" } text: qsTr("Add dive manually") - enabled: prefs.credentialStatus === CloudStatus.CS_VERIFIED || - prefs.credentialStatus === CloudStatus.CS_NOCLOUD onTriggered: { globalDrawer.close() returnTopPage() // otherwise odd things happen with the page stack -- cgit v1.2.3-70-g09d2