mirror of
https://github.com/lil-org/wallet.git
synced 2024-12-29 15:32:31 +03:00
tune transaction screen on ios
This commit is contained in:
parent
71c602325b
commit
6e18e13ab5
@ -24,9 +24,9 @@ extension BigInt {
|
|||||||
formatter.maximumSignificantDigits = 2
|
formatter.maximumSignificantDigits = 2
|
||||||
} else {
|
} else {
|
||||||
formatter.minimumFractionDigits = 6
|
formatter.minimumFractionDigits = 6
|
||||||
formatter.maximumFractionDigits = 11
|
formatter.maximumFractionDigits = 9
|
||||||
formatter.minimumSignificantDigits = 1
|
formatter.minimumSignificantDigits = 1
|
||||||
formatter.maximumSignificantDigits = 11
|
formatter.maximumSignificantDigits = 10
|
||||||
}
|
}
|
||||||
|
|
||||||
return formatter.string(from: ethDecimal) ?? .zero
|
return formatter.string(from: ethDecimal) ?? .zero
|
||||||
|
@ -103,7 +103,7 @@ class ApproveTransactionViewController: UIViewController {
|
|||||||
|
|
||||||
sectionModels[0] = cellModels
|
sectionModels[0] = cellModels
|
||||||
if !initially, tableView.numberOfSections > 0 {
|
if !initially, tableView.numberOfSections > 0 {
|
||||||
tableView.reloadSections(IndexSet([0]), with: .none)
|
tableView.reloadData()
|
||||||
}
|
}
|
||||||
okButton.isEnabled = transaction.hasFee
|
okButton.isEnabled = transaction.hasFee
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user