fix(wallet) fix namespace clash in wallet RootStore.qml

Updates: #13663
This commit is contained in:
Stefan 2024-03-20 16:21:58 +02:00 committed by Stefan Dunca
parent 1deb5e86e5
commit 72b03e69aa
2 changed files with 3 additions and 11 deletions

View File

@ -10,13 +10,4 @@ Item {
function getNameByAddress(address) {
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)
}

View File

@ -2,7 +2,8 @@ pragma Singleton
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
@ -486,7 +487,7 @@ QtObject {
walletSectionAccounts.updateWatchAccountHiddenFromTotalBalance(address, hideFromTotalBalance)
}
property CurrenciesStore currencyStore: CurrenciesStore {}
property Stores.CurrenciesStore currencyStore: Stores.CurrenciesStore {}
function addressWasShown(address) {
return root.mainModuleInst.addressWasShown(address)