Possibly dumb question, but Icon has a tint param,...
# compose
c
Possibly dumb question, but Icon has a tint param, while Image does not. If my image just displays a black vector and I want to set it to white, is this enough or am I breaking some kind of rule I don't know about? I might write my own VectorImage composable that just takes a tint like Icon. 😅
Copy code
colorFilter = ColorFilter.tint(MyTheme.colors.onSurfaceWhiteColor)
s
That's how it was done with Views so I guess it's correct
😄 1