fix: code review

This commit is contained in:
Richard Ramos 2021-01-22 10:00:25 -04:00 committed by Iuri Matias
parent 81c33fe2af
commit c241bd47db
2 changed files with 13 additions and 1 deletions

View File

@ -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)

View File

@ -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
}
}