rob729 / Quiet_Hours

No more trouble to make silent mode ON/OFF manually every time.
3 stars 9 forks source link

Dark mode bug #45

Closed rob729 closed 3 years ago

rob729 commented 3 years ago

Describe the bug When the system dark mode is active on a device and the user opens the app after installing it then the status bar text color is black and the background color is also dark.

To Reproduce

  1. Enable dark mode on android device.
  2. Install the app.
  3. Open the app.
  4. Give permissions.
  5. Go back to the app.

Expected behavior The app should set the value of dark mode according to the system. If the system dark mode is enabled then the app should enable dark mode automatically and the value of shared preference of dark mode should also be changed accordingly. This has to be done only when the app is opened for the first time.

Screenshots

Smartphone Info: Android version: Android 10

Would you like to work on the issue?

coder2699 commented 3 years ago

@rob729 I want to try to fix this issue.

rob729 commented 3 years ago

@coder2699 Go Ahead

coder2699 commented 3 years ago

@rob729 as mentioned by you "This has to be done only when the app is opened for the first time.", does it mean that when the app installs only then? or whenever the user opens the app after killing it?

rob729 commented 3 years ago

App installs/App data reset.