fix(@desktop/wallet): make the receive modal use the old wallet

as it is not yet migrated
This commit is contained in:
Anthony Laibe 2021-10-29 09:50:26 +02:00 committed by Iuri Matias
parent 9011f1bdfe
commit 63963039eb
3 changed files with 6 additions and 2 deletions

View File

@ -78,7 +78,7 @@ Item {
onClosed: {
destroy();
}
selectedAccount: currentAccount
selectedAccount: RootStore.leggacyCurrentAccount
}
}

View File

@ -47,7 +47,7 @@ ModalPopup {
id: accountSelector
label: ""
showAccountDetails: false
accounts: RootStore.accounts
accounts: RootStore.leggacyAccounts
currency: RootStore.currentCurrency
anchors.top: qrCodeBox.bottom
anchors.topMargin: Style.current.padding

View File

@ -5,6 +5,10 @@ import QtQuick 2.13
QtObject {
id: root
// TODO: Received modal is not yet migrated
property var leggacyAccounts: walletModel.accountsView.accounts
property var leggacyCurrentAccount: walletModel.accountsView.currentAccount
property var currentAccount: walletSectionCurrent
property var accounts: walletSectionAccounts.model