fix(@desktop/wallet): make the receive modal use the old wallet
as it is not yet migrated
This commit is contained in:
parent
9011f1bdfe
commit
63963039eb
|
@ -78,7 +78,7 @@ Item {
|
||||||
onClosed: {
|
onClosed: {
|
||||||
destroy();
|
destroy();
|
||||||
}
|
}
|
||||||
selectedAccount: currentAccount
|
selectedAccount: RootStore.leggacyCurrentAccount
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ ModalPopup {
|
||||||
id: accountSelector
|
id: accountSelector
|
||||||
label: ""
|
label: ""
|
||||||
showAccountDetails: false
|
showAccountDetails: false
|
||||||
accounts: RootStore.accounts
|
accounts: RootStore.leggacyAccounts
|
||||||
currency: RootStore.currentCurrency
|
currency: RootStore.currentCurrency
|
||||||
anchors.top: qrCodeBox.bottom
|
anchors.top: qrCodeBox.bottom
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
|
|
|
@ -5,6 +5,10 @@ import QtQuick 2.13
|
||||||
QtObject {
|
QtObject {
|
||||||
id: root
|
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 currentAccount: walletSectionCurrent
|
||||||
property var accounts: walletSectionAccounts.model
|
property var accounts: walletSectionAccounts.model
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue