fix(U4): guard initNotifications to Android-only to prevent Linux hang
This commit is contained in:
+1
-1
@@ -35,8 +35,8 @@ void main({List<Override> overrides = const []}) async {
|
||||
};
|
||||
|
||||
await initDatabasePath();
|
||||
await initNotifications();
|
||||
if (Platform.isAndroid) {
|
||||
await initNotifications();
|
||||
await registerBackgroundSync();
|
||||
}
|
||||
runApp(
|
||||
|
||||
Reference in New Issue
Block a user