diff options
Diffstat (limited to 'mobile-widgets')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 1 | ||||
-rw-r--r-- | mobile-widgets/qml/main.qml | 1 | ||||
-rw-r--r-- | mobile-widgets/qmlmanager.cpp | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index be659e6b9..9442bf9b7 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -291,6 +291,7 @@ Kirigami.ScrollablePage { } Component.onCompleted: { + manager.finishSetup(); setupActions(); } } diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 1cf1ea35d..72e475a32 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -470,7 +470,6 @@ if you have network connectivity and want to sync your data to cloud storage."), } Component.onCompleted: { - manager.finishSetup(); rootItem.visible = true diveList.opacity = 1 rootItem.opacity = 1 diff --git a/mobile-widgets/qmlmanager.cpp b/mobile-widgets/qmlmanager.cpp index 7a132a13e..94e58900b 100644 --- a/mobile-widgets/qmlmanager.cpp +++ b/mobile-widgets/qmlmanager.cpp @@ -221,6 +221,7 @@ void QMLManager::finishSetup() setCloudUserName(prefs.cloud_storage_email); setCloudPassword(prefs.cloud_storage_password); setSyncToCloud(!prefs.git_local_only); + setCredentialStatus((cloud_status_qml) prefs.cloud_verification_status); // if the cloud credentials are valid, we should get the GPS Webservice ID as well QString url; if (!cloudUserName().isEmpty() && |