Hello, in compose how can we prevent the app from switching to dark mode when system goes to dark mode
c
Csaba Kozák
10/11/2021, 8:25 AM
When creating your theme, simply just create light colors always.
👍 2
c
Chris Sinco [G]
10/11/2021, 10:26 PM
Yes. By default MaterialTheme will switch between light and dark colors. But you can change that by wrapping MaterialTheme in your own Conposable function and pass whatever colors you want, e.g. keeping your app only to dark theme.