refactor(app): перенести роутер ближе к месту инициализации в AppRoot

This commit is contained in:
Artem
2025-12-30 12:13:52 +07:00
parent 75c0ac3285
commit 617563fb6c
2 changed files with 50 additions and 13 deletions

View File

@@ -63,7 +63,7 @@ class AppRunner {
);
// Инициализация метода обработки ошибок
_initErrorHandlers(_debugService);
runApp(AppRoot(diContainer: diContainer, router: router));
runApp(AppRoot(diContainer: diContainer));
await _onAppLoaded();
} on Object catch (e, stackTrace) {
await _onAppLoaded();