Skip to content

Commit 27c2c72

Browse files
authored
fix: for splash screen (#2282)
1 parent 4560b0a commit 27c2c72

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

catalyst_voices/apps/voices/lib/app/view/app_content.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,12 @@ final class _AppContent extends StatelessWidget {
7575
return AppActiveStateListener(
7676
child: GlobalPrecacheImages(
7777
child: GlobalSessionListener(
78-
child: AppMobileAccessRestriction(
79-
child: AppSplashScreenManager(
78+
// IMPORTANT: AppSplashScreenManager must be placed above all
79+
// widgets that render visible UI elements. Any widget that
80+
// displays content should be a descendant of
81+
//AppSplashScreenManager to ensure proper splash screen behavior.
82+
child: AppSplashScreenManager(
83+
child: AppMobileAccessRestriction(
8084
child: child ?? const SizedBox.shrink(),
8185
),
8286
),

catalyst_voices/apps/voices/lib/app/view/app_mobile_access_restriction.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class _Background extends StatelessWidget {
100100
painter: BubblePainter(
101101
bubbles: _buildBubbles(),
102102
shapes: _buildShapes(),
103+
backgroundColor: const Color(0xFF9BDDF7),
103104
),
104105
size: Size.infinite,
105106
);

0 commit comments

Comments
 (0)