chore: Update matrix und vrouter

This commit is contained in:
Christian Pauly 2021-07-08 17:10:20 +02:00
commit 7ca96aee03
35 changed files with 63 additions and 63 deletions

View file

@ -105,7 +105,7 @@ class ChatListItem extends StatelessWidget {
}
Matrix.of(context).shareContent = null;
}
context.vRouter.push('/rooms/${room.id}');
VRouter.of(context).to('/rooms/${room.id}');
}
}
}

View file

@ -18,7 +18,7 @@ class PublicRoomListItem extends StatelessWidget {
future: () => _joinRoomAndWait(context),
);
if (success.error == null) {
VRouter.of(context).pushNamed('/rooms/${success.result}');
VRouter.of(context).toNamed('/rooms/${success.result}');
}
}