mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Refactoring
This commit is contained in:
@@ -287,10 +287,11 @@ public class FragmentDialogForwardRaw extends FragmentDialogBase {
|
||||
|
||||
private void send(long account, long[] ids) {
|
||||
try {
|
||||
final Context context = getContext();
|
||||
ArrayList<Uri> uris = new ArrayList<>();
|
||||
for (long id : ids) {
|
||||
File file = EntityMessage.getRawFile(getContext(), id);
|
||||
Uri uri = FileProvider.getUriForFile(getContext(), BuildConfig.APPLICATION_ID, file);
|
||||
File file = EntityMessage.getRawFile(context, id);
|
||||
Uri uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, file);
|
||||
uris.add(uri);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user