From e472e559a5653de6487d8c5df98bc77b7811e873 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 14 May 2023 10:47:41 -0700 Subject: [PATCH] nwc: don't use yellow on the Zap Button for pending zaps I just find this stressful --- damus/Components/ZapButton.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/damus/Components/ZapButton.swift b/damus/Components/ZapButton.swift index c598ca1e..8ca03bbe 100644 --- 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() {