mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
new: icloud manual
This commit is contained in:
@@ -13,7 +13,6 @@ import 'package:toolbox/data/res/store.dart';
|
||||
|
||||
import 'app.dart';
|
||||
import 'core/analysis.dart';
|
||||
import 'core/utils/icloud.dart';
|
||||
import 'core/utils/ui.dart';
|
||||
import 'data/model/app/net_view.dart';
|
||||
import 'data/model/server/private_key_info.dart';
|
||||
@@ -78,9 +77,6 @@ Future<void> initApp() async {
|
||||
primaryColor = Color(Stores.setting.primaryColor.fetch());
|
||||
loadFontFile(Stores.setting.fontPath.fetch());
|
||||
|
||||
// Don't call it via `await`, it will block the main thread.
|
||||
if (Stores.setting.icloudSync.fetch()) ICloud.syncDb();
|
||||
|
||||
if (isAndroid) {
|
||||
// Only start service when [bgRun] is true.
|
||||
if (Stores.setting.bgRun.fetch()) {
|
||||
|
||||
Reference in New Issue
Block a user