fix: Crash on start
This commit is contained in:
parent
b5a165004d
commit
f576951ebe
1 changed files with 2 additions and 1 deletions
|
|
@ -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 = {};
|
final Map<String, int> _linuxNotificationIds = {};
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue