fix: code review
This commit is contained in:
parent
81c33fe2af
commit
c241bd47db
|
@ -84,7 +84,7 @@ proc validateMnemonic*(mnemonic: string): string =
|
|||
result = $nim_status.validateMnemonic(mnemonic)
|
||||
|
||||
proc startWallet*() =
|
||||
discard nim_status.startWallet(true)
|
||||
discard nim_status.startWallet() # TODO: true to watch trx
|
||||
|
||||
proc hex2Token*(input: string, decimals: int): string =
|
||||
var value = fromHex(Stuint[256], input)
|
||||
|
|
|
@ -66,6 +66,9 @@ Item {
|
|||
Component {
|
||||
id: receiveModalComponent
|
||||
ReceiveModal{
|
||||
onClosed: {
|
||||
destroy();
|
||||
}
|
||||
selectedAccount: currentAccount
|
||||
}
|
||||
}
|
||||
|
@ -73,18 +76,27 @@ Item {
|
|||
Component {
|
||||
id: setCurrencyModalComponent
|
||||
SetCurrencyModal{
|
||||
onClosed: {
|
||||
destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: tokenSettingsModalComponent
|
||||
TokenSettingsModal{
|
||||
onClosed: {
|
||||
destroy();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: accountSettingsModalComponent
|
||||
AccountSettingsModal{
|
||||
onClosed: {
|
||||
destroy();
|
||||
}
|
||||
changeSelectedAccount: walletHeader.changeSelectedAccount
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue