fix: use vrouter.toSegments
This commit is contained in:
parent
4a02f9d076
commit
02e57474fe
22 changed files with 47 additions and 38 deletions
|
|
@ -60,7 +60,7 @@ class ChatListController extends State<ChatList> {
|
|||
void editSpace(BuildContext context, String spaceId) async {
|
||||
Scaffold.of(context).openEndDrawer();
|
||||
await Matrix.of(context).client.getRoomById(spaceId).postLoad();
|
||||
VRouter.of(context).to('/spaces/$spaceId');
|
||||
VRouter.of(context).toSegments(['spaces', spaceId]);
|
||||
}
|
||||
|
||||
List<Room> get spaces =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue