mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-05-30 19:47:28 +02:00
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…
x
Reference in New Issue
Block a user