mobile: show error on both inputs in case of invalid keypair

This commit is contained in:
Ammar Ahmed
2026-06-02 10:43:11 +05:00
committed by Abdullah Atta
parent 229edaae55
commit 4e057fa788

View File

@@ -246,6 +246,7 @@ const ManageInboxKeys = () => {
const result = await Storage.validatePGPKeyPair(keysEdited);
if (!result.isValid) {
formRef.current.setError("publicKey", result.message);
formRef.current.setError("privateKey", result.message);
return;
}