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
whiteListedSites.push({title: "Status", address: Constants.deepLinkPrefix, imageSite: false})
whiteListedSites.push({title: "Status", address: Constants.joinStatusLink, imageSite: false})
const settings = appSettings.whitelistedUnfurlingSites
// 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 {
target: profileModel.contacts
onContactRequestAdded: {

View File

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