Skip to content

Commit 3fd794a

Browse files
authored
[Chat] Fixed an image-only message having the meta shadow not rounded properly (#117)
1 parent 48ecf13 commit 3fd794a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- [Chat] Fixed a case where the very first frame would show the being offline message even while the user is online.
1111
- [Compose] The keyboard now has the `send` ime action and handles this accordingly.
1212
- [Media] Fixed image not being shown initially after the successfully uploading it when using clientApi v1.9.
13+
- [Chat] Fixed an image-only message having the meta shadow not rounded properly.
1314

1415
## 3.12.0 - Released 13 Jun 2025
1516

parley/src/main/java/nu/parley/android/view/BalloonView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ private void renderImageShadows(boolean hideName, boolean applyBottomCornerRadiu
267267
int bottomCornerRadius = applyBottomCornerRadius ? imageCornerRadius : 0;
268268
StyleUtil.Helper.applyCornerRadius((GradientDrawable) nameShadowView.getBackground().mutate(), imageCornerRadius, 0, 0, 0);
269269
StyleUtil.Helper.applyCornerRadius((GradientDrawable) infoShadowView.getBackground().mutate(), 0, 0, bottomCornerRadius, bottomCornerRadius);
270-
StyleUtil.Helper.applyCornerRadius((GradientDrawable) metaShadowView.getBackground().mutate(), 0, 0, bottomCornerRadius, 0);
270+
StyleUtil.Helper.applyCornerRadius((GradientDrawable) metaShadowView.getBackground().mutate(), bottomCornerRadius, 0, 0, 0); // topLeft because this view is rotated 180 degrees
271271

272272
updateNameShadowView();
273273
nameShadowView.setVisibility(hideName ? View.GONE : View.VISIBLE);

0 commit comments

Comments
 (0)