1
0
mirror of git://jb55.com/damus synced 2024-10-06 11:43:21 +00:00

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)
.font(.footnote.weight(.medium))
.aspectRatio(contentMode: .fit)
.frame(width:15, height: 15)
.frame(width:20, height: 20)
})
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!)
.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)
}
}