refactor: Migrate routes to go router

This commit is contained in:
krille-chan 2023-08-07 18:40:02 +02:00
commit ee957ab1f6
No known key found for this signature in database
52 changed files with 584 additions and 612 deletions

View file

@ -147,8 +147,7 @@ class UserBottomSheetController extends State<UserBottomSheet> {
future: () => widget.user.startDirectChat(),
);
if (roomIdResult.error != null) return;
VRouter.of(widget.outerContext)
.toSegments(['rooms', roomIdResult.result!]);
widget.outerContext.go(['', 'rooms', roomIdResult.result!].join('/'));
Navigator.of(context, rootNavigator: false).pop();
break;
case UserBottomSheetAction.ignore: