Skip to content

fix: follow the system dark mode on the launch screen - #524

Merged
braniii merged 2 commits into
mainfrom
fix/dark-splash-screen
Sep 9, 2026
Merged

fix: follow the system dark mode on the launch screen#524
braniii merged 2 commits into
mainfrom
fix/dark-splash-screen

Conversation

@braniii

@braniii braniii commented Sep 3, 2026

Copy link
Copy Markdown
Member

The launch drawable hardcoded white, so the splash stayed bright even on a
dark phone — and since Android 12 takes the system splash background from
windowBackground when nothing else is set, that white reached the newer
splash path too. It now comes from a day/night colour resource, using the
Material You neutrals on Android 12+ and the default theme's surface below.

NormalTheme points at the same colour, so there is no longer a jump between
the splash and Flutter's first frame.

Verified on an API 37 emulator: dark and light cold starts both follow the
system, with no white frame anywhere in the handover.

Closes #507

The launch drawable hardcoded white, which overrode the dark theme
already set for night mode and, on Android 12+, became the system
splash background too.
@braniii
braniii enabled auto-merge September 4, 2026 19:00
# Conflicts:
#	CHANGELOG.md
#	app/lib/core/changelog.g.dart
@braniii
braniii merged commit 3486ab5 into main Sep 9, 2026
3 checks passed
@braniii
braniii deleted the fix/dark-splash-screen branch September 9, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] bright splash screen in dark environment.

1 participant