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)
|
.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 {
|
||||||
|
|||||||
@@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user