We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since 0.26.3-beta Drawable Painter doesn't render vector drawables.
Steps to reproduce the behavior:
Image( painter = rememberDrawablePainter( drawable = AppCompatResources.getDrawable(LocalContext.current, R.drawable.vector) ), contentDescription = null, contentScale = ContentScale.Inside, modifier = Modifier .height(32.dp) .width(32.dp) .align(Alignment.CenterHorizontally) )
Vector drawables should be drawn, just like in the previous versions.
This PR might be related to or even causing the issue: #1322
The text was updated successfully, but these errors were encountered:
Thanks for the report, I haven't been able to reproduce this. Could you possible attach a vector that doesn't work?
Also, out of interest, what about your vector means you have to use drawable painter rather than just rememberVectorPainter()?
rememberVectorPainter()
My reproduce attempt:
Sorry, something went wrong.
@bentrengrove the vector is nothing I can share publicly - can I somehow send it to you directly?
rememberVectorPainter() works just fine indeed. I'm still wondering why rememberDrawablePainter() seized to work with that release. 🤔
rememberDrawablePainter()
The change (#1322) was reverted
No branches or pull requests
Describe the bug
Since 0.26.3-beta Drawable Painter doesn't render vector drawables.
To Reproduce (if applicable)
Steps to reproduce the behavior:
Expected behavior (if applicable)
Vector drawables should be drawn, just like in the previous versions.
Screenshots? (if applicable)
Environment: (if applicable)
Additional context
This PR might be related to or even causing the issue: #1322
The text was updated successfully, but these errors were encountered: