fix(settings): remove duplicate alert popup on change password error (issue #111)

- Prevent displaying duplicate error messages when entering an incorrect password
- Rely on inline error display below the input fields instead of showing redundant alert dialogs
This commit is contained in:
ShivaniKhaire 2026-11-07 17:22:02 +05:30
parent 3273d74780
commit 77d3847280
1 changed files with 0 additions and 5 deletions

View File

@ -100,11 +100,6 @@ export default function ChangePasswordScreen() {
} else {
setCurrentError(errMsg);
}
if (Platform.OS === "web") {
window.alert(errMsg);
} else {
Alert.alert("Error", errMsg);
}
} finally {
setIsLoading(false);
}