dzcode-io / dzcode.io

Website & mobile app for Algerian open-source community
https://dzcode.io
MIT License
114 stars 41 forks source link

The mobile app does not switch to dark mode in Android when changing the theme from system #367

Closed omdxp closed 2 years ago

omdxp commented 2 years ago

Describe the bug I tried the application in an Android device and when I try to change the system theme to dark mode the app does not change it appearance to dark mode. I am not sure if this happens as well for iOS devices.

To Reproduce Steps to reproduce the behavior:

  1. Open dzcode app on Android.
  2. Change the system theme to dark mode.
  3. The app doesn't change its appearance to dark mode as well.

Expected behavior Change the app appearance immediately when changing the system theme.

Environment:

Additional context I have found that this issue is still opened here and maybe the solution for this can be found here.

ZibanPirate commented 2 years ago

similar issue for iOS too, where when i switch system themes, the app switches two times.

i will try this suggestion and see, otherwise i will go with the debounce suggestion