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 {
if let liked_emoji {
buildMaskView(for: liked_emoji)
.frame(width: 20, height: 20)
.frame(width: 22, height: 20)
} else {
Image("shaka")
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 20, height: 20)
.frame(width: 22, height: 20)
.foregroundColor(.gray)
}
}