feat(splash): 缩短开屏停留并统一开屏图

This commit is contained in:
Zhou Weidong committed 2026-10-23 01:06:07 +08:00
1 parent b513ac0a9c
commit 6318ca24ec
18 files changed
+47 -100

No files matched your search

+2 -3
View File
@@ -36,7 +36,7 @@ void main() {
AppConfig.ready = Future<void>.value();
});
testWidgets('should_show_brand_splash_and_grid_skeleton_while_loading', (
testWidgets('should_show_grid_skeleton_without_an_in_app_splash', (
tester,
) async {
final repository = _PendingCatalogRepository();
@@ -47,8 +47,7 @@ void main() {
expect(find.byKey(const Key('home-grid-header')), findsOneWidget);
expect(find.byKey(const Key('home-grid-skeleton')), findsOneWidget);
expect(find.byKey(const Key('home-tabs-bar')), findsOneWidget);
expect(find.byKey(const Key('startup-splash')), findsOneWidget);
expect(find.byKey(const Key('startup-splash-logo')), findsOneWidget);
expect(find.byKey(const Key('startup-splash')), findsNothing);
expect(find.byType(CircularProgressIndicator), findsNothing);
repository.complete(_feed);