Add accessibility labels to EventActionBar

Changelog-Added: Add accessibility labels to action bar
Closes: #530
This commit is contained in:
Bryan Montz authored and William Casarin committed 2023-02-06 10:06:50 -08:00
1 parent 45f8c37498
commit 638052492d
2 files changed
+5

No files matched your search

+1
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)