Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prevent white flash by initializing dark mode from system preference #846

Merged
merged 1 commit into from
Mar 9, 2025

Conversation

T0biii
Copy link
Member

@T0biii T0biii commented Mar 9, 2025

Initialize dark mode state during app startup using system preferences and stored user settings to prevent momentary white flash on page load. Previously, dark mode was always initialized as false before checking preferences.

…ence

Initialize dark mode state during app startup using system preferences and
stored user settings to prevent momentary white flash on page load.
Previously, dark mode was always initialized as false before checking preferences.
@T0biii T0biii requested a review from a team as a code owner March 9, 2025 03:06
Copy link

mergeable bot commented Mar 9, 2025

Thanks for creating a pull request! A maintainer will review your changes shortly. Please don't be discouraged if it takes a while.

@GoliathLabs GoliathLabs merged commit 95547bf into freifunkMUC:master Mar 9, 2025
7 checks passed
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.

2 participants