summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-22 05:05:57 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-04-22 11:59:16 -0700
commit6b43b3015dcfff3c0c535e9fee69e2011feeda17 (patch)
tree75c60fe8111e0cf7a53a1476da785b3f79a397f0 /mobile-widgets/qml
parent34628f8e6d2156d7eae9bfbb64d5b43ca58e1a34 (diff)
downloadsubsurface-6b43b3015dcfff3c0c535e9fee69e2011feeda17.tar.gz
QML UI: turn off 'no cloud' button when not in use
This needs to be actively cleared. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 355e0ba34..b9a75abb4 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -221,9 +221,11 @@ Kirigami.ScrollablePage {
title = "Cloud credentials"
} else if(manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL) {
page.actions.main = page.addDiveAction
+ page.actions.right = null
title = "Dive list"
} else {
page.actions.main = null
+ page.actions.right = null
title = "Dive list"
}
}