Tweaked action bar icon sizes.

This commit is contained in:
Ben Weeks
2023-05-27 04:46:56 +01:00
committed by William Casarin
parent 973e9fe714
commit ed4ef0e215
2 changed files with 4 additions and 4 deletions

View File

@@ -125,7 +125,7 @@ struct ZapButton: View {
.foregroundColor(zap_color) .foregroundColor(zap_color)
.font(.footnote.weight(.medium)) .font(.footnote.weight(.medium))
.aspectRatio(contentMode: .fit) .aspectRatio(contentMode: .fit)
.frame(width:15, height: 15) .frame(width:20, height: 20)
}) })
if zaps.zap_total > 0 { if zaps.zap_total > 0 {

View File

@@ -166,7 +166,7 @@ func EventActionButton(img: String, col: Color?, action: @escaping () -> ()) ->
.foregroundColor(col == nil ? Color.gray : col!) .foregroundColor(col == nil ? Color.gray : col!)
.font(.footnote.weight(.medium)) .font(.footnote.weight(.medium))
.aspectRatio(contentMode: .fit) .aspectRatio(contentMode: .fit)
.frame(width: 15, height: 15) .frame(width: 20, height: 20)
} }
} }
@@ -195,12 +195,12 @@ struct LikeButton: View {
.resizable() .resizable()
.aspectRatio(contentMode: .fit) .aspectRatio(contentMode: .fit)
) )
.frame(width: 15, height: 15) .frame(width: 20, height: 20)
} else { } else {
Image("shaka") Image("shaka")
.resizable() .resizable()
.aspectRatio(contentMode: .fit) .aspectRatio(contentMode: .fit)
.frame(width: 15, height: 15) .frame(width: 20, height: 20)
.foregroundColor(.gray) .foregroundColor(.gray)
} }
} }