feat/перенести роутер в место инициализации

This commit is contained in:
Artem Luzin m
2025-11-24 16:18:36 +07:00
parent fcf5048038
commit 84e5f5e869
2 changed files with 26 additions and 13 deletions

View File

@@ -65,14 +65,10 @@ class AppRunner {
// Инициализация метода обработки ошибок
_initErrorHandlers(_debugService);
// Инициализация роутера
router = AppRouter.createRouter(_debugService);
// throw Exception('Test error');
runApp(
App(
router: router,
initDependencies: () {
return _initDependencies(
debugService: _debugService,