Improve EventActionBar button spacing

Changelog-Changed: Improved EventActionBar button spacing
Closes: #576
This commit is contained in:
Bryan Montz
2023-02-12 07:25:16 -06:00
committed by William Casarin
parent d547dade04
commit 94f66adf8d
2 changed files with 5 additions and 8 deletions

View File

@@ -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)
}