mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Simplification
This commit is contained in:
@@ -381,12 +381,7 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
}
|
||||
|
||||
private void onSave(EntityAttachment attachment) {
|
||||
LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(context);
|
||||
lbm.sendBroadcast(
|
||||
new Intent(FragmentBase.ACTION_STORE_ATTACHMENT)
|
||||
.putExtra("id", attachment.id)
|
||||
.putExtra("name", Helper.sanitizeFilename(attachment.name))
|
||||
.putExtra("type", attachment.getMimeType()));
|
||||
((FragmentBase) parentFragment).onStoreAttachment(attachment);
|
||||
}
|
||||
|
||||
private void onScan(EntityAttachment attachment) {
|
||||
|
||||
Reference in New Issue
Block a user