so I am facing an issue when trying to change the background of
TopAppBar
, the Composable itself has a parameter
backgroundColor
, ok, but I was expecting to be able to change its background through Modifier as well…not only does that not work but it’s like you didn’t even pass anything to the modifier if you try that
setting backgroundColor on the TopAppBar does work though
j
Jhonatan Sabadi
09/28/2022, 11:29 AM
Modifier is being overridden by backgroundColor
o
oday
09/29/2022, 9:13 AM
um no, I started to specify backgroundColor when I saw that setting it through Modifier.background was not taking effect