Fix colors on splash screen in light mode

This commit is contained in:
Hanh 2022-11-24 17:33:03 +08:00
parent e91281fd1a
commit af7c14ec45
4 changed files with 7 additions and 5 deletions

View File

@ -31,6 +31,7 @@ import 'package:uni_links/uni_links.dart';
import 'package:quick_actions/quick_actions.dart';
import 'package:sqlite3/open.dart';
import 'package:awesome_notifications/awesome_notifications.dart';
import 'package:flex_color_scheme/flex_color_scheme.dart';
import 'accounts.dart';
import 'animated_qr.dart';
import 'coin/coins.dart';
@ -168,6 +169,8 @@ class LoadProgressState extends State<LoadProgress> {
@override
Widget build(BuildContext context) {
final typography = Typography.material2014();
final textTheme = typography.englishLike;
return Container(
alignment: Alignment.center,
child: SizedBox(height: 240, width: 200, child:
@ -175,11 +178,11 @@ class LoadProgressState extends State<LoadProgress> {
children: [
Image.asset('assets/icon.png', height: 64),
Padding(padding: EdgeInsets.all(16)),
Text(S.of(context).loading, style: Theme.of(context).textTheme.headline4),
Text(S.of(context).loading, style: textTheme.headlineMedium),
Padding(padding: EdgeInsets.all(16)),
LinearProgressIndicator(value: _value),
Padding(padding: EdgeInsets.all(8)),
Text(_message, style: Theme.of(context).textTheme.caption),
Text(_message, style: textTheme.labelMedium),
]
)
));

View File

@ -8,7 +8,6 @@ import 'package:json_annotation/json_annotation.dart';
import 'package:flutter/material.dart';
import 'package:mobx/mobx.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:path_provider/path_provider.dart';
import 'coin/coins.dart';
import 'package:warp_api/warp_api.dart';
import 'package:warp_api/types.dart';

@ -1 +1 @@
Subproject commit 9d7141ae40f3335fccc40a023140ae606774205a
Subproject commit 6d56f8a9efae71ba50f1b9f87c9d3bfd2bc70d94

View File

@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.2.16+302
version: 1.2.16+304
environment:
sdk: ">=2.12.0 <3.0.0"