From c2844470c5640a9c7395bc124a86d65b3c9ff619 Mon Sep 17 00:00:00 2001 From: mrjo118 Date: Sat, 26 Oct 2024 21:07:22 +0100 Subject: [PATCH] Desktop: Fixes #10887: Prevent disabling of textbox inputs after entering an incorrect password (#11241) --- .../gui/EncryptionConfigScreen/EncryptionConfigScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app-desktop/gui/EncryptionConfigScreen/EncryptionConfigScreen.tsx b/packages/app-desktop/gui/EncryptionConfigScreen/EncryptionConfigScreen.tsx index e36e0101f4..f045c7e154 100644 --- a/packages/app-desktop/gui/EncryptionConfigScreen/EncryptionConfigScreen.tsx +++ b/packages/app-desktop/gui/EncryptionConfigScreen/EncryptionConfigScreen.tsx @@ -206,7 +206,7 @@ const EncryptionConfigScreen = (props: Props) => { if (hasMasterPassword && newEnabled) { if (!(await masterPasswordIsValid(newPassword))) { - alert('Invalid password. Please try again. If you have forgotten your password you will need to reset it.'); + await dialogs.alert('Invalid password. Please try again. If you have forgotten your password you will need to reset it.'); return; } }