Something that i dont’t understand with Compose. W...
# compose
i
Something that i dont’t understand with Compose. Why when i toggle theme icons (checkboxes mock) not changes?
isAppDarkTheme()
surely works correct, colors depends on it. I checked with logs what lays in the
res
val and it changes! Why
Icon
can not recomposing? Another strange thing is that there are 4 “checkboxes”, but when i toggled theme i saw sometimes only one, sometimes two log lines (
log
prints from
else
block)
z
What is
isAppDarkTheme
? Can you share the code?
Ah, you resumed the discussion below.
Yes, there i throwed out unnecessary code