Improve EventActionBar button spacing
Changelog-Changed: Improved EventActionBar button spacing Closes: #576
This commit is contained in:
committed by
William Casarin
parent
d547dade04
commit
94f66adf8d
@@ -100,7 +100,7 @@ struct ZapButton: View {
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
HStack(spacing: 4) {
|
||||
EventActionButton(img: zap_img, col: zap_color) {
|
||||
if bar.zapped {
|
||||
//notify(.delete, bar.our_tip)
|
||||
@@ -111,7 +111,6 @@ struct ZapButton: View {
|
||||
.accessibilityLabel(NSLocalizedString("Zap", comment: "Accessibility label for zap button"))
|
||||
|
||||
Text(String("\(bar.zap_total > 0 ? "\(format_msats_abbrev(bar.zap_total))" : "")"))
|
||||
.offset(x: 22)
|
||||
.font(.footnote)
|
||||
.foregroundColor(bar.zapped ? Color.orange : Color.gray)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user