From d4ef198b9c64459f04819f05d28f06b85ef5cea3 Mon Sep 17 00:00:00 2001 From: Nouman Tahir Date: Fri, 9 Jul 2021 21:48:38 +0500 Subject: [PATCH] added failure message if image picker failed for other reason than permission so you user dont wait for upload to finish --- src/screens/editor/container/editorContainer.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/screens/editor/container/editorContainer.js b/src/screens/editor/container/editorContainer.js index 3efd7ccbf..bb0d73b55 100644 --- a/src/screens/editor/container/editorContainer.js +++ b/src/screens/editor/container/editorContainer.js @@ -435,6 +435,13 @@ class EditorContainer extends Component { id: 'alert.permission_text', }), ); + }else{ + Alert.alert( + intl.formatMessage({ + id: 'alert.fail', + }), + error.message, + ); } };