commit 57789de5cd6cfaa7da2c54fd1a743753a55f9908
parent 62c539afbf02edf86196fa2be246be2f8f1d8207
Author: William Casarin <jb55@jb55.com>
Date: Fri, 23 Jun 2023 11:45:09 +0200
nozaps: hide zap total
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/damus/Components/ZapButton.swift b/damus/Components/ZapButton.swift
@@ -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)