1
0
mirror of git://jb55.com/damus synced 2024-09-30 00:40:45 +00:00

ui: fix cut off emoji reaction

This patch is a simple fix to emoji reactions being cut off.

Fixes: https://github.com/damus-io/damus/issues/1728
Changelog-Fixed: Fix emoji reactions being cut off
Signed-off-by: ericholguin <ericholguin@apache.org>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
ericholguin 2024-04-04 10:57:53 -06:00 committed by William Casarin
parent 846a786fd0
commit faec79d45d

View File

@ -205,12 +205,12 @@ struct LikeButton: View {
Group { Group {
if let liked_emoji { if let liked_emoji {
buildMaskView(for: liked_emoji) buildMaskView(for: liked_emoji)
.frame(width: 20, height: 20) .frame(width: 22, height: 20)
} else { } else {
Image("shaka") Image("shaka")
.resizable() .resizable()
.aspectRatio(contentMode: .fit) .aspectRatio(contentMode: .fit)
.frame(width: 20, height: 20) .frame(width: 22, height: 20)
.foregroundColor(.gray) .foregroundColor(.gray)
} }
} }