Fixed
Status Update
Comments
ma...@google.com <ma...@google.com> #2
We recently landed stability improvements and bugfixes in aosp/2258262 and will stabilize ModalBottomSheetLayout following a few release cycles. We are still evaluating the future API of BottomSheetScaffold and are expecting it to stay experimental for a bit more while we migrate it to Swipeable V2.
al...@gmail.com <al...@gmail.com> #3
@jossiwolf is this on track for 1.6 or moved out to 1.7?
nj...@google.com <nj...@google.com>
ap...@google.com <ap...@google.com> #5
Bumping to P1 as it is been a long while since we need to land this.
Description
When using Icon.kt, I personally would expect that passing
Color.Unspecified
as the tint would result in no tint being applied to the icon at all (in other words, anull
color filter would be passed to thePainter
and the colors that are rendered would just be whatever theVectorAsset
orImageAsset
internally draws).This is currently not the case, as passing
Color.Unspecified
results in a transparent color filter being applied (meaning the icon is not rendered at all).This behavior is particularly important to support multi-colored icons, where you need to avoid a tint being applied all together.
The code in question at the time this bug was filed is here:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-master-dev:compose/material/material/src/commonMain/kotlin/androidx/compose/material/Icon.kt;l=96;drc=989981f1b2a64419ed599cb82e2c589b6b41e46d