mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 21:37:55 +00:00
Implemented home creation and add counter to the sign up screen
This commit is contained in:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user