Tweaked action bar icon sizes.
This commit is contained in:
committed by
William Casarin
parent
973e9fe714
commit
ed4ef0e215
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user