Closed wild-a closed 2 years ago
Setting background using Color.dynamic allows for setting separate dark mode and light mode background colors.
Edit: remove line 37. Add the following to line 171 (line 170 if you remove line 37):
w.backgroundColor = Color.dynamic(Color.white(), new Color("1B1B1D"));
The first color there will be for light mode, second color will be for dark mode.
I have made a pull request #7 that fixes this issue like you did with support for settings.
Text in light mode is black on a dark background (so not visible), but works fine in dark mode (white text on dark background).