mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-12 10:42:35 +01:00
Merge branch 'vrouter-context' into 'main'
fix "Unhandled Exception: VRouter.of(context) was called with a context which... Closes #1163 See merge request famedly/fluffychat!1117
This commit is contained in:
commit
f44e24aec1
@ -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 New Issue
Block a user