NativeScript / theme

@nativescript/theme
https://v7.docs.nativescript.org/ui/theme
Apache License 2.0
127 stars 44 forks source link

Setting forced theme and removing it leaves the app in light mode #265

Closed bundyo closed 4 years ago

bundyo commented 4 years ago

Describe the bug When device is set to dark mode and the app forces another, resetting the theme mode to auto, leaves the app in light mode

To Reproduce

Theme.setMode(Theme.Light);
Theme.setMode(Theme.Auto);

Expected behavior The app is returned to the current device mode (dark).