diff --git a/lib/config/routes.dart b/lib/config/routes.dart index eff35504aa..7fd8414b27 100644 --- a/lib/config/routes.dart +++ b/lib/config/routes.dart @@ -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, + ), + ] ), ], )