Commit 3c703ef
committed
fix(expo): stop removing UIUserInterfaceStyle when darkColors is present
The plugin was deleting UIUserInterfaceStyle from Info.plist whenever the
theme JSON included darkColors, overriding the developer's app-wide
userInterfaceStyle setting from app.json. This broke apps that intentionally
pin to light or dark mode.
The plugin now only embeds the theme data. Dark mode switching is controlled
by the developer via Expo's existing userInterfaceStyle config.1 parent 19bc65a commit 3c703ef
1 file changed
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | 673 | | |
682 | 674 | | |
683 | 675 | | |
| |||
0 commit comments