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
krille/new-error-reporter
Krille 2 years ago
commit 8a238cd85e

@ -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…
Cancel
Save