Fix flickering bottom bar of live location item.

This commit is contained in:
Onuray Sahin 2022-06-08 15:40:09 +03:00
parent 3f491018b4
commit 6c72139939

View file

@ -70,6 +70,7 @@ class LocationLiveMessageBannerView @JvmOverloads constructor(
GlideApp.with(context)
.load(ColorDrawable(ThemeUtils.getColor(context, android.R.attr.colorBackground)))
.placeholder(binding.locationLiveMessageBannerBackground.drawable)
.transform(GranularRoundedCorners(0f, 0f, viewState.bottomEndCornerRadiusInDp, viewState.bottomStartCornerRadiusInDp))
.into(background)
}