1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Go to login route

This commit is contained in:
Pierre HUBERT 2021-04-17 11:27:52 +02:00
parent f6e45fcc76
commit 9c61252610

View File

@ -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/create_account_widget.dart';
import 'package:comunic/ui/widgets/login_routes_theme.dart'; import 'package:comunic/ui/widgets/login_routes_theme.dart';
import 'package:comunic/utils/intl_utils.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()));
} }
} }