Implemented home creation and add counter to the sign up screen

This commit is contained in:
Abdullah Alassaf
2024-06-03 00:26:07 +03:00
parent 9877dde78e
commit 6a9c2967d2
12 changed files with 577 additions and 13 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ class _SplashViewState extends State<SplashView> {
if (state is AuthTokenSuccess) {
Navigator.pushNamedAndRemoveUntil(context, Routes.homeRoute, (route) => false);
} else if (state is AuthTokenError) {
Future.delayed(const Duration(seconds: 1), () {
Future.delayed(const Duration(seconds: 2), () {
Navigator.pushReplacement(
context,
CustomPageRoute(builder: (context) => const LoginView()),