mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
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:
commit
2fbbee2d65
2 changed files with 2 additions and 0 deletions
1
changelog.d/6264.bugfix
Normal file
1
changelog.d/6264.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix flickering bottom bar of live location item
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue