From 57789de5cd6cfaa7da2c54fd1a743753a55f9908 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Fri, 23 Jun 2023 11:45:09 +0200 Subject: [PATCH] nozaps: hide zap total --- damus/Components/ZapButton.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Components/ZapButton.swift b/damus/Components/ZapButton.swift index 14078760..904b8c00 100644 --- 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)