This commit is contained in:
Dmitry 2025-12-03 00:43:49 +03:00
parent 38563a56a5
commit 15856e51fb
4 changed files with 5 additions and 4 deletions

View file

@ -38,6 +38,6 @@ _flutter.buildConfig = {"engineRevision":"d3d45dcf251823c1769909cd43698d126db38d
_flutter.loader.load({ _flutter.loader.load({
serviceWorkerSettings: { serviceWorkerSettings: {
serviceWorkerVersion: "3923216343" serviceWorkerVersion: "3154899874"
} }
}); });

Binary file not shown.

View file

@ -32,7 +32,7 @@ class App extends StatelessWidget {
builder: (context, appScope) { builder: (context, appScope) {
return _AppInitializer(appScope: appScope); return _AppInitializer(appScope: appScope);
}, },
placeholder: const _LoadingScreen(message: 'Initializing...'), placeholder: const _LoadingScreen(message: 'Инициализация...'),
), ),
); );
} }
@ -160,7 +160,7 @@ class _AppInitializerState extends State<_AppInitializer> {
if (!_isInitialized) { if (!_isInitialized) {
log('Showing loading screen', name: 'App'); log('Showing loading screen', name: 'App');
return const _LoadingScreen(message: 'Loading...'); return const _LoadingScreen(message: 'Загрузка...');
} }
log('Building main app', name: 'App'); log('Building main app', name: 'App');
@ -207,6 +207,7 @@ class _LoadingScreen extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MaterialApp( return MaterialApp(
home: Scaffold( home: Scaffold(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
body: Center( body: Center(
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,

View file

@ -106,4 +106,4 @@ flutter:
fonts: fonts:
- family: Nunito - family: Nunito
fonts: fonts:
- asset: ../mnemo_cards/fonts/Nunito-VariableFont_wght.ttf - asset: fonts/Nunito-VariableFont_wght.ttf