lnlink

iOS app for connecting to lightning nodes
git clone git://jb55.com/lnlink
Log | Files | Refs | Submodules | README | LICENSE

commit 266c01b1094171b343e96b02c406d1b5f5e321c9
parent 54cc59fbd9eac67160b6baf785ccf9b20968deff
Author: William Casarin <jb55@jb55.com>
Date:   Thu, 31 Mar 2022 14:18:21 -0700

don't show exchange rate twice when paying

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mlightninglink/Views/PayView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lightninglink/Views/PayView.swift b/lightninglink/Views/PayView.swift @@ -361,7 +361,7 @@ struct PayView: View { amount_view(amt, rate: self.rate) } - if self.custom_amount_input != "", let msats = self.custom_amount_msats { + if !self.paying && self.custom_amount_input != "", let msats = self.custom_amount_msats { if let rate = self.rate { Text("\(msats_to_fiat(msats: msats, xr: rate))") .foregroundColor(.gray)