fix(U4): guard initNotifications to Android-only to prevent Linux hang

This commit is contained in:
Thomas SharedInbox
2026-05-14 02:54:36 +02:00
parent 3f1200aa59
commit c3305259a9
+1 -1
View File
@@ -35,8 +35,8 @@ void main({List<Override> overrides = const []}) async {
};
await initDatabasePath();
await initNotifications();
if (Platform.isAndroid) {
await initNotifications();
await registerBackgroundSync();
}
runApp(