mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 19:48:52 +00:00
fix: fix appSetting not defined by removing sounds from login
This commit is contained in:
parent
053c7fdcf3
commit
d0f141c1b8
@ -126,6 +126,10 @@ RowLayout {
|
|||||||
property bool compatibilityMode: true
|
property bool compatibilityMode: true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ErrorSound {
|
||||||
|
id: errorSound
|
||||||
|
}
|
||||||
|
|
||||||
Audio {
|
Audio {
|
||||||
id: sendMessageSound
|
id: sendMessageSound
|
||||||
audioRole: Audio.NotificationRole
|
audioRole: Audio.NotificationRole
|
||||||
|
@ -38,10 +38,6 @@ ApplicationWindow {
|
|||||||
}
|
}
|
||||||
visible: true
|
visible: true
|
||||||
|
|
||||||
ErrorSound {
|
|
||||||
id: errorSound
|
|
||||||
}
|
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
shortcut: StandardKey.FullScreen
|
shortcut: StandardKey.FullScreen
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
@ -137,7 +137,6 @@ ModalPopup {
|
|||||||
ignoreUnknownSignals: true
|
ignoreUnknownSignals: true
|
||||||
onLoginResponseChanged: {
|
onLoginResponseChanged: {
|
||||||
if (error) {
|
if (error) {
|
||||||
errorSound.play()
|
|
||||||
loading = false
|
loading = false
|
||||||
importLoginError.open()
|
importLoginError.open()
|
||||||
}
|
}
|
||||||
@ -151,7 +150,6 @@ ModalPopup {
|
|||||||
const result = onboardingModel.storeDerivedAndLogin(repeatPasswordField.text);
|
const result = onboardingModel.storeDerivedAndLogin(repeatPasswordField.text);
|
||||||
const error = JSON.parse(result).error
|
const error = JSON.parse(result).error
|
||||||
if (error) {
|
if (error) {
|
||||||
errorSound.play()
|
|
||||||
importError.text += error
|
importError.text += error
|
||||||
return importError.open()
|
return importError.open()
|
||||||
}
|
}
|
||||||
|
@ -24,9 +24,7 @@ Item {
|
|||||||
error = onboardingModel.validateMnemonic(mnemonic)
|
error = onboardingModel.validateMnemonic(mnemonic)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (error != "") {
|
if (error === "") {
|
||||||
errorSound.play()
|
|
||||||
} else {
|
|
||||||
wentNext = true
|
wentNext = true
|
||||||
enterSeedPhraseModal.close()
|
enterSeedPhraseModal.close()
|
||||||
onboardingModel.importMnemonic(mnemonic)
|
onboardingModel.importMnemonic(mnemonic)
|
||||||
|
@ -167,7 +167,6 @@ Item {
|
|||||||
ignoreUnknownSignals: true
|
ignoreUnknownSignals: true
|
||||||
onLoginResponseChanged: {
|
onLoginResponseChanged: {
|
||||||
if (error) {
|
if (error) {
|
||||||
errorSound.play()
|
|
||||||
errMsg.visible = true;
|
errMsg.visible = true;
|
||||||
loading = false;
|
loading = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user