这是indexloc提供的服务,不要输入任何密码
Skip to content

Dark mode isn't applied until you visit settings #425

@DennisAlund

Description

@DennisAlund

Describe the bug
The dark/light mode setting isn't applied or read from the database until you visit the settings page where the dark/light mode toggle is located.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the application login page.
  2. Log in with your credentials.
  3. Observe that the dark/light mode setting is not applied.
  4. Navigate to the settings page where the dark/light mode toggle is located.
  5. Observe that the dark/light mode setting is now applied.

Expected behavior
The dark/light mode setting should be read from the database and applied immediately upon login, without needing to visit the settings page.

Screenshots
Jul-31-2024 14-54-59

Additional context
This bug causes the user experience to be inconsistent, as the theme setting should be persistent and applied immediately upon login.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions