diff --git a/lib/ui/routes/create_account_route.dart b/lib/ui/routes/create_account_route.dart index 1617e24..41832b8 100644 --- a/lib/ui/routes/create_account_route.dart +++ b/lib/ui/routes/create_account_route.dart @@ -1,3 +1,4 @@ +import 'package:comunic/ui/routes/login_route.dart'; import 'package:comunic/ui/widgets/create_account_widget.dart'; import 'package:comunic/ui/widgets/login_routes_theme.dart'; import 'package:comunic/utils/intl_utils.dart'; @@ -47,6 +48,7 @@ class __CreateAccountRouteBodyState extends State<_CreateAccountRouteBody> { ), ); - Navigator.of(context).pop(); + Navigator.of(context) + .pushReplacement(MaterialPageRoute(builder: (c) => LoginRoute())); } }