mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +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
|
||||
}
|
||||
|
||||
ErrorSound {
|
||||
id: errorSound
|
||||
}
|
||||
|
||||
Audio {
|
||||
id: sendMessageSound
|
||||
audioRole: Audio.NotificationRole
|
||||
|
@ -38,10 +38,6 @@ ApplicationWindow {
|
||||
}
|
||||
visible: true
|
||||
|
||||
ErrorSound {
|
||||
id: errorSound
|
||||
}
|
||||
|
||||
Action {
|
||||
shortcut: StandardKey.FullScreen
|
||||
onTriggered: {
|
||||
|
@ -137,7 +137,6 @@ ModalPopup {
|
||||
ignoreUnknownSignals: true
|
||||
onLoginResponseChanged: {
|
||||
if (error) {
|
||||
errorSound.play()
|
||||
loading = false
|
||||
importLoginError.open()
|
||||
}
|
||||
@ -151,7 +150,6 @@ ModalPopup {
|
||||
const result = onboardingModel.storeDerivedAndLogin(repeatPasswordField.text);
|
||||
const error = JSON.parse(result).error
|
||||
if (error) {
|
||||
errorSound.play()
|
||||
importError.text += error
|
||||
return importError.open()
|
||||
}
|
||||
|
@ -24,9 +24,7 @@ Item {
|
||||
error = onboardingModel.validateMnemonic(mnemonic)
|
||||
}
|
||||
|
||||
if (error != "") {
|
||||
errorSound.play()
|
||||
} else {
|
||||
if (error === "") {
|
||||
wentNext = true
|
||||
enterSeedPhraseModal.close()
|
||||
onboardingModel.importMnemonic(mnemonic)
|
||||
|
@ -167,7 +167,6 @@ Item {
|
||||
ignoreUnknownSignals: true
|
||||
onLoginResponseChanged: {
|
||||
if (error) {
|
||||
errorSound.play()
|
||||
errMsg.visible = true;
|
||||
loading = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user