fix(wallet) fix namespace clash in wallet RootStore.qml
Updates: #13663
This commit is contained in:
parent
1deb5e86e5
commit
72b03e69aa
|
@ -10,13 +10,4 @@ Item {
|
||||||
function getNameByAddress(address) {
|
function getNameByAddress(address) {
|
||||||
return "Name Mock " + address.substring(0, 5)
|
return "Name Mock " + address.substring(0, 5)
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
// Silence warnings
|
|
||||||
readonly property QtObject overview: QtObject {
|
|
||||||
readonly property string mixedcaseAddress: ""
|
|
||||||
}
|
|
||||||
readonly property ListModel mixedcaseAddress: ListModel {}
|
|
||||||
|
|
||||||
signal walletAccountRemoved(string address)
|
|
||||||
}
|
}
|
|
@ -2,7 +2,8 @@ pragma Singleton
|
||||||
|
|
||||||
import QtQuick 2.13
|
import QtQuick 2.13
|
||||||
|
|
||||||
import shared.stores 1.0
|
// Aliasing not to conflict with the shared.stores.RootStore
|
||||||
|
import shared.stores 1.0 as Stores
|
||||||
|
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
|
@ -486,7 +487,7 @@ QtObject {
|
||||||
walletSectionAccounts.updateWatchAccountHiddenFromTotalBalance(address, hideFromTotalBalance)
|
walletSectionAccounts.updateWatchAccountHiddenFromTotalBalance(address, hideFromTotalBalance)
|
||||||
}
|
}
|
||||||
|
|
||||||
property CurrenciesStore currencyStore: CurrenciesStore {}
|
property Stores.CurrenciesStore currencyStore: Stores.CurrenciesStore {}
|
||||||
|
|
||||||
function addressWasShown(address) {
|
function addressWasShown(address) {
|
||||||
return root.mainModuleInst.addressWasShown(address)
|
return root.mainModuleInst.addressWasShown(address)
|
||||||
|
|
Loading…
Reference in New Issue