mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-05 16:15:43 +00:00
fix: web white screen (#908)
This commit is contained in:
1 file changed
+3
-1
@@ -41,7 +41,9 @@ void main(List<String> arguments) async {
|
||||
|
||||
Future<void> init(Args args) async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
FlutterForegroundTask.initCommunicationPort();
|
||||
if (Util.isMobile()) {
|
||||
FlutterForegroundTask.initCommunicationPort();
|
||||
}
|
||||
await Util.initStorageDir();
|
||||
await Database.instance.init();
|
||||
if (Util.isDesktop()) {
|
||||
|
||||
Reference in new issue
Block a user