You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent a ton of time trying to figure out how to make the background of my app icon black in dark mode and white in light mode. In the instructions, it says there's the iconBackgroundColorDark to change that with the generate command but it doesn't seem to do anything? If I'm misunderstanding this, please correct me but I don't see any changes with this dark mode option. The splashBackgroundColorDark seems to work.
All I had to do was generate the icons with iconBackgroundColor set to black (not the dark mode option). Copy the mipmap folders and rename them to mipmap-night-**. Regenerate the icons with the white background. Copy the mipmap-night-** folders into the same place android/app/src/main/res/.
Couldn't this be done for me with the generate command so the icon supports both light and dark mode?
The text was updated successfully, but these errors were encountered:
I just spent a ton of time trying to figure out how to make the background of my app icon black in dark mode and white in light mode. In the instructions, it says there's the
iconBackgroundColorDark
to change that with the generate command but it doesn't seem to do anything? If I'm misunderstanding this, please correct me but I don't see any changes with this dark mode option. ThesplashBackgroundColorDark
seems to work.I did finally get dark mode working thanks to this Stackoverflow answer: https://stackoverflow.com/a/69731757/6581796
All I had to do was generate the icons with
iconBackgroundColor
set to black (not the dark mode option). Copy themipmap
folders and rename them tomipmap-night-**
. Regenerate the icons with the white background. Copy themipmap-night-**
folders into the same placeandroid/app/src/main/res/
.Couldn't this be done for me with the generate command so the icon supports both light and dark mode?
The text was updated successfully, but these errors were encountered: