Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

App fails to follow system theme and falls back to light theme

Aperta
#300 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin
Ambito
mobile

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
  1. Set the device's system theme to Dark.
  2. Ensure the in-app color theme is set to "System".
  3. Open the mobile app.
  4. 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.

Lingua principale
Kotlin
Stelle
270
Fork
57
Merge medio
23h 47m
PR unite (30g)
39

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ActivityWatch/aw-android

Tutte le issue di ActivityWatch/aw-android

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.