Fix open user link
This commit is contained in:
parent
2f42cddd08
commit
eb72198048
|
@ -43,9 +43,10 @@ class UrlLauncher {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
|
||||||
if (roomID != null) {
|
if (roomID != null) {
|
||||||
await Navigator.push(
|
await Navigator.pushAndRemoveUntil(
|
||||||
context,
|
context,
|
||||||
MaterialPageRoute(builder: (context) => ChatView(roomID)),
|
AppRoute.defaultRoute(context, ChatView(roomID)),
|
||||||
|
(r) => r.isFirst,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue