Skip to content

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

Description

@akirad3d4

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions