impl option remote modification

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2022-08-30 16:50:25 +08:00
parent 839be76b8f
commit 38abd27384
9 changed files with 109 additions and 33 deletions

View File

@@ -664,8 +664,6 @@ Future<void> initGlobalFFI() async {
debugPrint("_globalFFI init end");
// after `put`, can also be globally found by Get.find<FFI>();
Get.put(_globalFFI, permanent: true);
// trigger connection status updater
await bind.mainCheckConnectStatus();
// global shared preference
await Get.putAsync(() => SharedPreferences.getInstance());
}