mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Unchecked attachment file delete
This commit is contained in:
@@ -196,8 +196,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
db.endTransaction();
|
||||
}
|
||||
|
||||
if (!attachment.getFile(context).delete())
|
||||
throw new FileNotFoundException(attachment.getFile(context).toString());
|
||||
attachment.getFile(context).delete();
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user