diff --git a/mnemo_cards_web_v2/build/web/flutter_bootstrap.js b/mnemo_cards_web_v2/build/web/flutter_bootstrap.js index d360957..2a00fc7 100644 --- a/mnemo_cards_web_v2/build/web/flutter_bootstrap.js +++ b/mnemo_cards_web_v2/build/web/flutter_bootstrap.js @@ -38,6 +38,6 @@ _flutter.buildConfig = {"engineRevision":"d3d45dcf251823c1769909cd43698d126db38d _flutter.loader.load({ serviceWorkerSettings: { - serviceWorkerVersion: "3923216343" + serviceWorkerVersion: "3154899874" } }); diff --git a/mnemo_cards_web_v2/fonts/Nunito-VariableFont_wght.ttf b/mnemo_cards_web_v2/fonts/Nunito-VariableFont_wght.ttf new file mode 100644 index 0000000..0a00f63 Binary files /dev/null and b/mnemo_cards_web_v2/fonts/Nunito-VariableFont_wght.ttf differ diff --git a/mnemo_cards_web_v2/lib/app.dart b/mnemo_cards_web_v2/lib/app.dart index 406bc68..5e2815e 100644 --- a/mnemo_cards_web_v2/lib/app.dart +++ b/mnemo_cards_web_v2/lib/app.dart @@ -32,7 +32,7 @@ class App extends StatelessWidget { builder: (context, 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) { log('Showing loading screen', name: 'App'); - return const _LoadingScreen(message: 'Loading...'); + return const _LoadingScreen(message: 'Загрузка...'); } log('Building main app', name: 'App'); @@ -207,6 +207,7 @@ class _LoadingScreen extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( home: Scaffold( + backgroundColor: Theme.of(context).colorScheme.inversePrimary, body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, diff --git a/mnemo_cards_web_v2/pubspec.yaml b/mnemo_cards_web_v2/pubspec.yaml index 6651b79..a979fad 100644 --- a/mnemo_cards_web_v2/pubspec.yaml +++ b/mnemo_cards_web_v2/pubspec.yaml @@ -106,4 +106,4 @@ flutter: fonts: - family: Nunito fonts: - - asset: ../mnemo_cards/fonts/Nunito-VariableFont_wght.ttf + - asset: fonts/Nunito-VariableFont_wght.ttf