mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
fix "Unhandled Exception: VRouter.of(context) was called with a context which does not contain a VRouter."
fixes #1163
This commit is contained in:
parent
ab1e2d8db8
commit
21244ea8b4
1 changed files with 1 additions and 2 deletions
|
@ -244,8 +244,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
||||||
|
|
||||||
bool webHasFocus = true;
|
bool webHasFocus = true;
|
||||||
|
|
||||||
String? get activeRoomId =>
|
String? get activeRoomId => navigatorContext.vRouter.pathParameters['roomid'];
|
||||||
VRouter.of(navigatorContext).pathParameters['roomid'];
|
|
||||||
|
|
||||||
final linuxNotifications =
|
final linuxNotifications =
|
||||||
PlatformInfos.isLinux ? NotificationsClient() : null;
|
PlatformInfos.isLinux ? NotificationsClient() : null;
|
||||||
|
|
Loading…
Reference in a new issue