Merge pull request #6264 from vector-im/feature/ons/fix_flickering_location_bottom_bar

Fix flickering bottom bar of live location item [PSF-1057]
This commit is contained in:
Onuray Sahin 2022-06-13 18:23:10 +03:00 committed by GitHub
commit 2fbbee2d65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/6264.bugfix Normal file
View File

@ -0,0 +1 @@
Fix flickering bottom bar of live location item

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)
}