Avoid double error that make crash in case of reupload

Fixes #21
pull/1/head
Schoumi 6 years ago
parent 14f3b51add
commit ead2d6ce21
  1. 1
      app/src/main/java/fr/mobdev/goblim/NetworkManager.java

@ -389,6 +389,7 @@ class NetworkThread extends Thread{
} catch (JSONException e) {
e.printStackTrace();
listener.fileUploadError(imageUri, context.getString(R.string.unreadable_json));
return;
}
}
if(imgOutput != null) {

Loading…
Cancel
Save