https://kotlinlang.org logo
#compose
Title
# compose
a

allan.conda

02/26/2021, 7:10 AM
Replacing
vectorResource()
with
painterResource()
caused this issue, any idea how to fix it? Or should I file a bug?
n

Nader Jawad

02/26/2021, 7:17 AM
Can you share the full composable?
a

allan.conda

02/26/2021, 7:24 AM
…let me simplify the code
I guess it has something to do with reusing it across icons with different sizes… I think that should be a valid case. In our case we’re previewing our Design system components with different variants
Using
Icon(imageVector =… )
works well in contrast
c

Colton Idle

02/26/2021, 7:08 PM
Subscribing. Interested in the result.
a

allan.conda

03/10/2021, 4:23 AM