mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
parent
73025c5a0a
commit
1c91d37d69
@ -24,8 +24,13 @@ Item {
|
||||
property var emojiPopup: null
|
||||
property var sendModalPopup
|
||||
property var networkConnectionStore
|
||||
property bool appMainVisible
|
||||
|
||||
onVisibleChanged: resetView()
|
||||
onAppMainVisibleChanged: showSigningPhrasePopup()
|
||||
|
||||
onVisibleChanged: {
|
||||
resetView()
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: walletSection
|
||||
@ -44,7 +49,7 @@ Item {
|
||||
}
|
||||
|
||||
function showSigningPhrasePopup(){
|
||||
if(!hideSignPhraseModal && !RootStore.hideSignPhraseModal){
|
||||
if(!hideSignPhraseModal && !RootStore.hideSignPhraseModal && visible && appMainVisible){
|
||||
signPhrasePopup.open();
|
||||
}
|
||||
}
|
||||
|
@ -68,6 +68,7 @@ Item {
|
||||
property CommunitiesStore communitiesStore: CommunitiesStore {}
|
||||
readonly property WalletStore.TokensStore tokensStore: WalletStore.RootStore.tokensStore
|
||||
|
||||
|
||||
// set from main.qml
|
||||
property var sysPalette
|
||||
|
||||
@ -1229,8 +1230,11 @@ Item {
|
||||
emojiPopup: statusEmojiPopup.item
|
||||
sendModalPopup: sendModal
|
||||
networkConnectionStore: appMain.networkConnectionStore
|
||||
appMainVisible: appMain.visible
|
||||
}
|
||||
onLoaded: {
|
||||
item.showSigningPhrasePopup()
|
||||
}
|
||||
onLoaded: item.showSigningPhrasePopup()
|
||||
}
|
||||
|
||||
Loader {
|
||||
|
Loading…
x
Reference in New Issue
Block a user