Skip to content

Commit 75d2e41

Browse files
authored
feat: add in PaymentList them same balance format as home view
1 parent 2581550 commit 75d2e41

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

LDKNodeMonday/Extensions/PaymentDetails+Extensions.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ extension PaymentDetails {
9696
case .fiatSats, .fiatBtc:
9797
return satsAmount.formattedSatsAsUSD(price: price)
9898
case .btcFiat:
99-
return satsAmount.formattedSatsAsBtc()
99+
return "" + satsAmount.formattedSatsAsBtc()
100+
case .onchainBip177, .lightningBip177, .totalBip177:
101+
return "" + satsAmount.formattedBip177()
100102
default:
101103
return satsAmount.formatted(.number.notation(.automatic))
102104
}

0 commit comments

Comments
 (0)