Redesign
This commit is contained in:
parent
f2b0cce282
commit
cc61d8e91a
13 changed files with 590 additions and 226 deletions
|
|
@ -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)),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue