This commit is contained in:
lollipopkit
2023-09-13 14:28:02 +08:00
parent 6c84d2f52b
commit 278d5984b2
55 changed files with 528 additions and 481 deletions

View File

@@ -100,7 +100,7 @@ Future<void> initApp() async {
if (isAndroid) {
// Only start service when [bgRun] is true.
if (locator<SettingStore>().bgRun.fetch()) {
bgRunChannel.invokeMethod('startService');
Miscs.bgRunChannel.invokeMethod('startService');
}
// SharedPreferences is only used on Android for saving home widgets settings.
SharedPreferences.setPrefix('');