mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-23 22:12:34 +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;
|
||||
|
||||
String? get activeRoomId =>
|
||||
VRouter.of(navigatorContext).pathParameters['roomid'];
|
||||
String? get activeRoomId => navigatorContext.vRouter.pathParameters['roomid'];
|
||||
|
||||
final linuxNotifications =
|
||||
PlatformInfos.isLinux ? NotificationsClient() : null;
|
||||
|
Loading…
Reference in New Issue
Block a user