Skip to content

Commit

Permalink
improve: back button in create group chat back to new private chat
Browse files Browse the repository at this point in the history
  • Loading branch information
sherlockvn authored and hoangdat committed Jun 23, 2023
1 parent aca826d commit 6e44af0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions lib/config/routes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,13 @@ class AppRoutes {
path: '/newprivatechat',
widget: const NewPrivateChat(),
buildTransition: rightToLeftTransition,
),
VWidgetWithDependency(
di: ContactDI(),
path: '/newgroup',
widget: const NewGroup(),
buildTransition: rightToLeftTransition,
stackedRoutes: [
VWidget(
path: '/newgroup',
widget: const NewGroup(),
buildTransition: rightToLeftTransition,
),
]
),
],
)
Expand Down

0 comments on commit 6e44af0

Please sign in to comment.