damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit e472e559a5653de6487d8c5df98bc77b7811e873
parent 0091df8f779a9e6f7abc9ad71219b162e50d3f83
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 14 May 2023 10:47:41 -0700

nwc: don't use yellow on the Zap Button for pending zaps

I just find this stressful

Diffstat:
Mdamus/Components/ZapButton.swift | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/damus/Components/ZapButton.swift b/damus/Components/ZapButton.swift @@ -54,15 +54,19 @@ struct ZapButton: View { } var zap_color: Color { - guard let our_zap else { + if our_zap == nil { return Color.gray } + // always orange ! + return Color.orange + /* if our_zap.is_paid { return Color.orange } else { return Color.yellow } + */ } func tap() {