mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-07 17:43:18 +02:00
Added subject to AMP viewer
This commit is contained in:
@@ -4832,10 +4832,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
@Override
|
||||
protected void onExecuted(Bundle args, EntityAttachment attachment) {
|
||||
if (attachment == null)
|
||||
return;
|
||||
|
||||
File file = attachment.getFile(context);
|
||||
Uri uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, file);
|
||||
context.startActivity(new Intent(context, ActivityAMP.class)
|
||||
.setData(uri));
|
||||
.setData(uri)
|
||||
.putExtra("subject", message.subject));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user