mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-04 18:55:44 +00:00
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…
x
Reference in New Issue
Block a user