fix: Crash on start
This commit is contained in:
parent
83c066b387
commit
16febd3c34
@ -211,7 +211,8 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
||||
}
|
||||
}
|
||||
|
||||
final linuxNotifications = NotificationsClient();
|
||||
final linuxNotifications =
|
||||
PlatformInfos.isLinux ? NotificationsClient() : null;
|
||||
final Map<String, int> _linuxNotificationIds = {};
|
||||
|
||||
@override
|
||||
|
Loading…
Reference in New Issue
Block a user