App fails to follow system theme and falls back to light theme
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
Research direction
Reproduce the launch sequence on Android 15 with the system theme set to Dark and the app theme set to System. Start by tracing the mobile app's theme initialization and the status/navigation bar and sidebar handling; done means the app remains in dark mode without reverting or flickering, while desktop and web behavior remains unchanged.
Written by the indexing model from the issue text.
Description
Environment
App version: 0.14.2b4
OS: Android 15, Realme UI
In-app theme: System
System theme: Dark
Description
My device's system theme is set to Dark, and all other apps respect this mode correctly. In the ActivityWatch settings, I have selected "System" as the color theme.
However, when opening the app, the status bar, navigation bar, and the sidebar menu (if I manage to open it quickly) initially display in the dark theme for a couple of seconds, but then the app unexpectedly falls back to the light theme.
Additionally, I have verified that on desktop, the app correctly follows the browser theme (when opened in a browser) or the system theme (when using the aw-tauri GUI). I am opening this issue here specifically because the desktop/web versions handle theming correctly.
Steps to Reproduce
- Set the device's system theme to Dark.
- Ensure the in-app color theme is set to "System".
- Open the mobile app.
- Observe the status bar, navigation bar, and sidebar menu upon opening the app.
Expected Behavior
The app should consistently remain in the dark theme, matching the system settings without flickering or reverting.
Actual Behavior
The UI elements (status bar, navigation bar, sidebar) render in the dark theme for a few seconds upon launch, but then the app falls back to the light theme.
- Dominant language
- Kotlin
- Stars
- 275
- Forks
- 60
- Avg merge
- 20h 32m
- Merged PRs (30d)
- 38
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ActivityWatch/aw-android
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ActivityWatch/aw-android#306 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
AuthSettingsActivity crashes on launch (InflateException: Material attributes under AppCompat theme)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ActivityWatch/aw-android#210 · 7 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ActivityWatch/aw-android#302 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ActivityWatch/aw-android#296 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
ActivityWatch/aw-android#291 · 7 comments ·
Maintainers usually reply within 1 day
All issues in ActivityWatch/aw-android
Similar issues
-
go 🏃 testing 🧪
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
valkey-io/valkey-glide#7239 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
ethereum-lists/chains#8788 ·
Maintainers usually reply within 1 day
-
unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
thunderbird/thunderbird-android#11654 · 2 comments ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tauri-apps/tauri#16173 ·
Maintainers usually reply within 2 days
-
feature
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day