commit faec79d45d438d8c8e045f528d89aa8550a13cab
parent 846a786fd02f17bbbe428a55eefabf474b4a4a9e
Author: ericholguin <ericholguin@apache.org>
Date: Thu, 4 Apr 2024 10:57:53 -0600
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>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/damus/Views/ActionBar/EventActionBar.swift b/damus/Views/ActionBar/EventActionBar.swift
@@ -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)
}
}