This commit is contained in:
Christian Pauly 2020-01-27 10:14:38 +01:00
commit cc61d8e91a
13 changed files with 590 additions and 226 deletions

View file

@ -29,7 +29,7 @@ class UrlLauncher {
if (response == false) return;
await Navigator.pushAndRemoveUntil(
context,
AppRoute.defaultRoute(context, Chat(response["room_id"])),
AppRoute.defaultRoute(context, ChatView(response["room_id"])),
(r) => r.isFirst,
);
} else if (identifier.substring(0, 1) == "@") {
@ -44,7 +44,7 @@ class UrlLauncher {
if (roomID != null) {
await Navigator.push(
context,
MaterialPageRoute(builder: (context) => Chat(roomID)),
MaterialPageRoute(builder: (context) => ChatView(roomID)),
);
}
}