We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c3c075 commit e189baeCopy full SHA for e189bae
Adamant/Wallets/TransferViewControllerBase.swift
@@ -719,16 +719,6 @@ extension TransferViewControllerBase {
719
row.placeholder = String.adamantLocalized.transfer.amountPlaceholder
720
row.tag = BaseRows.amount.tag
721
row.formatter = self?.balanceFormatter
722
- row.useFormatterDuringInput = false
723
- row.useFormatterOnDidBeginEditing = true
724
- row.displayValueFor = { value in
725
- guard let v = value else { return nil }
726
- let formatter = AdamantBalanceFormat.currencyFormatter(for: .full, currencySymbol: nil)
727
-
728
- let d = Decimal(v)
729
- let s = formatter.string(from: d)
730
- return s
731
- }
732
733
if let amount = self?.amount {
734
row.value = amount.doubleValue
0 commit comments