chore: Follow up navigatorcontext fix
This commit is contained in:
parent
1d934c5353
commit
9238dbcd8d
3 changed files with 3 additions and 15 deletions
|
|
@ -339,13 +339,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|||
);
|
||||
}
|
||||
} else {
|
||||
navigatorContext.go(
|
||||
Uri(
|
||||
path: state == LoginState.loggedIn ? '/rooms' : '/home',
|
||||
queryParameters:
|
||||
GoRouterState.of(navigatorContext).uri.queryParameters,
|
||||
).toString(),
|
||||
);
|
||||
navigatorContext.go(state == LoginState.loggedIn ? '/rooms' : '/home');
|
||||
}
|
||||
});
|
||||
onUiaRequest[name] ??= c.onUiaRequest.stream.listen(uiaRequestHandler);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue