Fix flickering bottom bar of live location item.
This commit is contained in:
parent
3f491018b4
commit
6c72139939
|
@ -70,6 +70,7 @@ class LocationLiveMessageBannerView @JvmOverloads constructor(
|
||||||
|
|
||||||
GlideApp.with(context)
|
GlideApp.with(context)
|
||||||
.load(ColorDrawable(ThemeUtils.getColor(context, android.R.attr.colorBackground)))
|
.load(ColorDrawable(ThemeUtils.getColor(context, android.R.attr.colorBackground)))
|
||||||
|
.placeholder(binding.locationLiveMessageBannerBackground.drawable)
|
||||||
.transform(GranularRoundedCorners(0f, 0f, viewState.bottomEndCornerRadiusInDp, viewState.bottomStartCornerRadiusInDp))
|
.transform(GranularRoundedCorners(0f, 0f, viewState.bottomEndCornerRadiusInDp, viewState.bottomStartCornerRadiusInDp))
|
||||||
.into(background)
|
.into(background)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue