stuff
This commit is contained in:
parent
38563a56a5
commit
15856e51fb
4 changed files with 5 additions and 4 deletions
|
|
@ -38,6 +38,6 @@ _flutter.buildConfig = {"engineRevision":"d3d45dcf251823c1769909cd43698d126db38d
|
||||||
|
|
||||||
_flutter.loader.load({
|
_flutter.loader.load({
|
||||||
serviceWorkerSettings: {
|
serviceWorkerSettings: {
|
||||||
serviceWorkerVersion: "3923216343"
|
serviceWorkerVersion: "3154899874"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
BIN
mnemo_cards_web_v2/fonts/Nunito-VariableFont_wght.ttf
Normal file
BIN
mnemo_cards_web_v2/fonts/Nunito-VariableFont_wght.ttf
Normal file
Binary file not shown.
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue