opt.: backup

This commit is contained in:
lollipopkit
2023-09-13 13:05:19 +08:00
parent 9ce7138d9b
commit 269c2a0a10
37 changed files with 535 additions and 632 deletions

View File

@@ -95,7 +95,7 @@ Future<void> initApp() async {
primaryColor = Color(settings.primaryColor.fetch());
// Don't call it via `await`, it will block the main thread.
if (settings.icloudSync.fetch()) syncApple();
if (settings.icloudSync.fetch()) ICloud.syncDb();
if (isAndroid) {
// Only start service when [bgRun] is true.