fix(@desktop/communities): fix sharing community link

fixes #3165
This commit is contained in:
Anthony Laibe 2021-08-06 13:49:36 +02:00 committed by Iuri Matias
parent 51c5a8015d
commit 02f2789a23
2 changed files with 10 additions and 14 deletions

View File

@ -446,7 +446,6 @@ StatusAppLayout {
// Add Status links to whitelist // Add Status links to whitelist
whiteListedSites.push({title: "Status", address: Constants.deepLinkPrefix, imageSite: false}) whiteListedSites.push({title: "Status", address: Constants.deepLinkPrefix, imageSite: false})
whiteListedSites.push({title: "Status", address: Constants.joinStatusLink, imageSite: false}) whiteListedSites.push({title: "Status", address: Constants.joinStatusLink, imageSite: false})
const settings = appSettings.whitelistedUnfurlingSites const settings = appSettings.whitelistedUnfurlingSites
// Set Status links as true. We intercept thoseURLs so it is privacy-safe // Set Status links as true. We intercept thoseURLs so it is privacy-safe
@ -484,6 +483,15 @@ StatusAppLayout {
} }
} }
Connections {
target: profileModel
ignoreUnknownSignals: true
enabled: removeMnemonicAfterLogin
onInitialized: {
profileModel.mnemonic.remove()
}
}
Connections { Connections {
target: profileModel.contacts target: profileModel.contacts
onContactRequestAdded: { onContactRequestAdded: {

View File

@ -265,9 +265,7 @@ StatusWindow {
DSM.State { DSM.State {
id: appState id: appState
onEntered: Qt.callLater(function() { onEntered: loader.sourceComponent = app
loader.sourceComponent = app
})
DSM.SignalTransition { DSM.SignalTransition {
targetState: stateLogin targetState: stateLogin
@ -390,16 +388,6 @@ StatusWindow {
} }
} }
Connections {
target: profileModel
ignoreUnknownSignals: true
enabled: removeMnemonicAfterLogin
onInitialized: {
profileModel.mnemonic.remove()
}
}
Component { Component {
id: genKey id: genKey
GenKey { GenKey {