Alignement design systeme OK
This commit is contained in:
@@ -12,7 +12,7 @@ import 'core/design_system/theme/app_theme_sophisticated.dart';
|
||||
import 'core/auth/bloc/auth_bloc.dart';
|
||||
import 'core/cache/dashboard_cache_manager.dart';
|
||||
import 'features/auth/presentation/pages/login_page.dart';
|
||||
import 'features/dashboard/presentation/pages/adaptive_dashboard_page.dart';
|
||||
import 'core/navigation/main_navigation_layout.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
@@ -85,13 +85,13 @@ class UnionFlowApp extends StatelessWidget {
|
||||
),
|
||||
);
|
||||
} else if (state is AuthAuthenticated) {
|
||||
return const AdaptiveDashboardPage();
|
||||
return const MainNavigationLayout();
|
||||
} else {
|
||||
return const LoginPage();
|
||||
}
|
||||
},
|
||||
),
|
||||
'/dashboard': (context) => const AdaptiveDashboardPage(),
|
||||
'/dashboard': (context) => const MainNavigationLayout(),
|
||||
'/login': (context) => const LoginPage(),
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user