fliverdev / rider

Fliver Rider for Android & iOS🛺
https://fliverdev.github.io/
GNU General Public License v3.0
84 stars 43 forks source link

[BUG] Dark mode toggle broken #2

Closed urmilshroff closed 5 years ago

urmilshroff commented 5 years ago

Describe the bug Toggling dark mode the first time upon relaunch doesn't change the map style to the correct theme.

To reproduce Steps to reproduce the behavior:

  1. Quit the app and launch it again
  2. Click the dark mode toggle button
  3. The app's dark mode will update, but the map style won't change
  4. Click the dark mode toggle button again. Now it will work perfectly, updating the app's colors and the map style correctly.

Expected behavior The map style should update correctly since the first time you press the button, not after the second time.

Smartphone:

urmilshroff commented 5 years ago

The problem is back as of 30c101a10b2017e788d97751dfe1d7617dc28613. This really needs some work.