mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: Haptic feedback on password error
This commit is contained in:
parent
939ee44e0b
commit
e5de406bf5
@ -53,8 +53,8 @@ const EncryptStorage = () => {
|
||||
popToTop();
|
||||
} catch (e) {
|
||||
if (password) {
|
||||
alert(loc._.bad_password);
|
||||
triggerHapticFeedback(HapticFeedbackTypes.NotificationError);
|
||||
alert(loc._.bad_password);
|
||||
}
|
||||
|
||||
setIsLoading(false);
|
||||
@ -83,6 +83,7 @@ const EncryptStorage = () => {
|
||||
saveToDisk();
|
||||
} else {
|
||||
setIsLoading(false);
|
||||
triggerHapticFeedback(HapticFeedbackTypes.NotificationError);
|
||||
alert(loc.settings.passwords_do_not_match);
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user