From ed4ef0e215ddbee4a9f1e25909d699719f50fc6b Mon Sep 17 00:00:00 2001 From: Ben Weeks Date: Sat, 27 May 2023 04:46:56 +0100 Subject: [PATCH] Tweaked action bar icon sizes. --- damus/Components/ZapButton.swift | 2 +- damus/Views/ActionBar/EventActionBar.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/damus/Components/ZapButton.swift b/damus/Components/ZapButton.swift index 4d3ecc72..b1fdf524 100644 --- a/damus/Components/ZapButton.swift +++ b/damus/Components/ZapButton.swift @@ -125,7 +125,7 @@ struct ZapButton: View { .foregroundColor(zap_color) .font(.footnote.weight(.medium)) .aspectRatio(contentMode: .fit) - .frame(width:15, height: 15) + .frame(width:20, height: 20) }) if zaps.zap_total > 0 { diff --git a/damus/Views/ActionBar/EventActionBar.swift b/damus/Views/ActionBar/EventActionBar.swift index 2ea94211..b4f5be1e 100644 --- a/damus/Views/ActionBar/EventActionBar.swift +++ b/damus/Views/ActionBar/EventActionBar.swift @@ -166,7 +166,7 @@ func EventActionButton(img: String, col: Color?, action: @escaping () -> ()) -> .foregroundColor(col == nil ? Color.gray : col!) .font(.footnote.weight(.medium)) .aspectRatio(contentMode: .fit) - .frame(width: 15, height: 15) + .frame(width: 20, height: 20) } } @@ -195,12 +195,12 @@ struct LikeButton: View { .resizable() .aspectRatio(contentMode: .fit) ) - .frame(width: 15, height: 15) + .frame(width: 20, height: 20) } else { Image("shaka") .resizable() .aspectRatio(contentMode: .fit) - .frame(width: 15, height: 15) + .frame(width: 20, height: 20) .foregroundColor(.gray) } }