added failure message if image picker failed for other reason than permission so you user dont wait for upload to finish

This commit is contained in:
Nouman Tahir 2021-07-09 21:48:38 +05:00
parent 9befde93ae
commit d4ef198b9c

View File

@ -435,6 +435,13 @@ class EditorContainer extends Component {
id: 'alert.permission_text', id: 'alert.permission_text',
}), }),
); );
}else{
Alert.alert(
intl.formatMessage({
id: 'alert.fail',
}),
error.message,
);
} }
}; };