There should be something broke in Material theme,...
# compose
m
There should be something broke in Material theme, till dev 6 I did not noticed anything weird, but now when I change the theme of the app at runtime very strange things happen, for example I have a list display function that only works well (in the theming sense ) if I surround it by a surface(shape=Rectangle), either if I skip the surface or the shape, the list goes drawn without the changed theme. And there are more quirks and oddities all of them hard to predict or imagine.
a
what
Surface
is doing: drawing the background on the
surface
color from the
ColorPalette
and changes the default text color for the subtree to
onSurface
from the
ColorPalette
. what other unexpected changes do you see?
l
Fwiw this might be related to the bug around ambients in default expressions being broken. This will hopefully be fixed in dev11