mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-06 04:13:11 +03:00
Clarify send transaction title
This commit is contained in:
parent
10ecd11fe9
commit
4c56d9a528
@ -58,7 +58,7 @@ class WalletConnect {
|
||||
|
||||
private func approveTransaction(id: Int64, wct: WCEthereumTransaction, address: String, interactor: WCInteractor?) {
|
||||
let value = Double(UInt64(wct.value?.dropFirst(2) ?? "0", radix: 16) ?? 0) / 1e18
|
||||
Agent.shared.showApprove(title: "Send Transaction", meta: "\(value) ETH") { [weak self] approved in
|
||||
Agent.shared.showApprove(title: "Send Transaction", meta: "value: \(value) ETH\ndata: \(wct.data)") { [weak self] approved in
|
||||
if approved {
|
||||
self?.sendTransaction(id: id, wct: wct, address: address, interactor: interactor)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user