nozaps: hide zap total

This commit is contained in:
William Casarin
2023-06-23 11:45:09 +02:00
parent 62c539afbf
commit 57789de5cd

View File

@@ -125,7 +125,7 @@ struct ZapButton: View {
.frame(width:20, height: 20)
})
if zaps.zap_total > 0 {
if !damus_state.settings.nozaps && zaps.zap_total > 0 {
Text(verbatim: format_msats_abbrev(zaps.zap_total))
.font(.footnote)
.foregroundColor(zap_color)