This commit is contained in:
Christian Pauly
2020-01-27 10:14:38 +01:00
parent f2b0cce282
commit cc61d8e91a
13 changed files with 593 additions and 229 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)),
);
}
}