Don't work setContent{} when call reCreate() in android 13 (API 30)
Closed this issue · 2 comments
hossein-no1 commented
I try to change theme in my app
i call reCreate function and then i see white screen because don't call setContent{}
This problem was occurred only for android 13(API 30)
Dinesh2510 commented
You mean to say you're attempting to change the theme with Jetpack compose?
Dinesh2510 commented
Hi @hossein-no1 you can follow this code.
Dark-and-Light-Theme-in-Jetpack-Compose