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 committed Jun 23, 2023
1 parent 20e7e92 commit 5827e7c
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 5827e7c

Please sign in to comment.