From 5c885b0fd423499801527756dabeeea1d144482e Mon Sep 17 00:00:00 2001 From: Swift Date: Thu, 27 Apr 2023 23:16:18 -0400 Subject: [PATCH] Fix sats plurality Closes: #1034 --- damus/Views/Zaps/CustomizeZapView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/Zaps/CustomizeZapView.swift b/damus/Views/Zaps/CustomizeZapView.swift index e36ebeb4..ab8f4fd8 100644 --- a/damus/Views/Zaps/CustomizeZapView.swift +++ b/damus/Views/Zaps/CustomizeZapView.swift @@ -147,7 +147,7 @@ struct CustomizeZapView: View { self.custom_amount_sats = nil } } - Text("sats", comment: "Shortened form of satoshi, display unit of measure where 1,000,000,000 satoshis is 1 Bitcoin. Used to indicate how many sats will be zapped to a note, configured through the custom zap view.") + Text(custom_amount_sats == 1 ? "sat" : "sats", comment: "Shortened form of satoshi, display unit of measure where 1,000,000,000 satoshis is 1 Bitcoin. Used to indicate how many sats will be zapped to a note, configured through the custom zap view.") .font(.system(size: 18, weight: .heavy)) } }