refactor: Migrate from pathsegment routing
This commit is contained in:
parent
b7dac8365a
commit
b715eff839
15 changed files with 20 additions and 23 deletions
|
|
@ -208,7 +208,7 @@ class UserBottomSheetController extends State<UserBottomSheet> {
|
|||
.startDirectChat(user?.id ?? widget.profile!.userId),
|
||||
);
|
||||
if (roomIdResult.error != null) return;
|
||||
widget.outerContext.go(['', 'rooms', roomIdResult.result!].join('/'));
|
||||
widget.outerContext.go('/rooms/${roomIdResult.result!}');
|
||||
Navigator.of(context, rootNavigator: false).pop();
|
||||
break;
|
||||
case UserBottomSheetAction.ignore:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue