diff options
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index d3b72c6ea..73bb06a86 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -218,9 +218,12 @@ Kirigami.ScrollablePage { if (visible) { page.actions.main = page.saveAction title = "Cloud credentials" - } else { + } else if(manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL) { page.actions.main = page.addDiveAction title = "Dive list" + } else { + page.actions.main = null + title = "Dive list" } } |