diff options
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 9442bf9b7..b1444ee8b 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -271,8 +271,8 @@ Kirigami.ScrollablePage { Behavior on opacity { NumberAnimation { duration: Kirigami.Units.shortDuration } } function setupActions() { if (visible) { - page.actions.main = page.saveAction - page.actions.right = page.offlineAction + page.actions.main = null + page.actions.right = null page.title = qsTr("Cloud credentials") } else if(manager.credentialStatus === QMLManager.CS_VERIFIED || manager.credentialStatus === QMLManager.CS_NOCLOUD) { page.actions.main = page.downloadFromDCAction @@ -358,6 +358,7 @@ Kirigami.ScrollablePage { onTriggered: { manager.syncToCloud = false manager.credentialStatus = QMLManager.CS_NOCLOUD + manager.saveCloudCredentials() } } |