diff options
author | jan Iversen <jan@casacondor.com> | 2019-12-28 16:25:48 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-28 08:36:20 -0800 |
commit | 7e0e489d453600f5de3e359a23916eb6fb10116c (patch) | |
tree | 4f7934ffcd24e60647bd02c3b4ba320578211390 /mobile-widgets/qml/main.qml | |
parent | a73ce80eeec098441141fede8877604b36a6511d (diff) | |
download | subsurface-7e0e489d453600f5de3e359a23916eb6fb10116c.tar.gz |
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 <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 2 |
1 files changed, 0 insertions, 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 |