Unchecked attachment file delete

pull/160/head
M66B 5 years ago
parent 928119b4e9
commit d9dd78e3a7

@ -196,8 +196,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
db.endTransaction(); db.endTransaction();
} }
if (!attachment.getFile(context).delete()) attachment.getFile(context).delete();
throw new FileNotFoundException(attachment.getFile(context).toString());
return null; return null;
} }

Loading…
Cancel
Save