[android] Fixed broken invisible chevron for BottomSheet in day theme on PlacePageView.

Signed-off-by: Dzmitry Yarmolenka <dzmitry.yarmolenka.1986@gmail.com>
This commit is contained in:
Dzmitry Yarmolenka 2021-07-14 15:58:10 +02:00 committed by Alexander Borsuk
parent 86b76885fd
commit 44a608012a
3 changed files with 4 additions and 1 deletions

View file

@ -16,6 +16,7 @@
<attr name="iconTintLight" format="color" />
<attr name="zoomPlus" format="reference" />
<attr name="zoomMinus" format="reference" />
<attr name="chevronTintColor" format="color" />
<attr name="ppBackground" format="color" />
<attr name="ppButtonsBackground" format="color" />
<attr name="ppPreviewHeadOpen" format="reference" />

View file

@ -35,6 +35,7 @@
<item name="iconTintDisabled">@color/black_12</item>
<item name="iconTintActive">@color/yellow</item>
<item name="iconTintLight">@color/icon_tint_light</item>
<item name="chevronTintColor">@color/black_12</item>
<item name="secondary">@color/text_dark_hint</item>
<item name="dividerHorizontal">@color/divider</item>
@ -212,6 +213,7 @@
<item name="iconTintDisabled">@color/white_12</item>
<item name="iconTintActive">@color/yellow</item>
<item name="iconTintLight">@color/icon_tint_light_night</item>
<item name="chevronTintColor">@color/white_12</item>
<item name="secondary">@color/text_light_hint</item>
<item name="dividerHorizontal">@color/divider_night</item>

View file

@ -86,7 +86,7 @@ class PlacePageUtils
return;
Drawable drawable = Graphics.tint(bottomSheet.getContext(), drawableId,
R.attr.colorOnPrimary); /// TODO OMG
R.attr.chevronTintColor);
img.setImageDrawable(drawable);
}