summaryrefslogtreecommitdiffstats
path: root/mobile-widgets
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-03 10:58:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-03 10:58:32 -0700
commitcffa9e8d0633c660de32d44e59761497d12f4c73 (patch)
tree96b60575428e7a2e23f0eb525ad9bdf92bc95464 /mobile-widgets
parent1902d527d5362308eaa31db9e864b36c54548671 (diff)
downloadsubsurface-cffa9e8d0633c660de32d44e59761497d12f4c73.tar.gz
QML UI: show nocloud button at start
While this seemed to work fine on iOS and when compiling the QML UI on a desktop, on Android the nocloud button wasn't shown at app start. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
-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 9ffb2ee88..e4ae3be28 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -237,7 +237,9 @@ Kirigami.ScrollablePage {
id: startPage
}
Component.onCompleted: {
+ // initially we are in "no credentials" mode
page.actions.main = page.saveAction
+ page.actions.right = page.offlineAction
}
}