Add accessibility labels to EventActionBar

Changelog-Added: Add accessibility labels to action bar
Closes: #530
This commit is contained in:
Bryan Montz
2023-02-05 08:04:36 -06:00
committed by William Casarin
parent 45f8c37498
commit 638052492d
2 changed files with 5 additions and 0 deletions

View File

@@ -108,6 +108,7 @@ struct ZapButton: View {
send_zap()
}
}
.accessibilityLabel(NSLocalizedString("Zap", comment: "Accessibility label for zap button"))
Text("\(bar.zap_total > 0 ? "\(format_msats_abbrev(bar.zap_total))" : "")")
.offset(x: 22)