mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Seem to be a formatting bug in Android Studio
This commit is contained in:
@@ -116,10 +116,10 @@ public class AdapterAttachment extends RecyclerView.Adapter<AdapterAttachment.Vi
|
||||
final File dir = new File(context.getCacheDir(), "attachments");
|
||||
final File file = new File(dir, TextUtils.isEmpty(attachment.name)
|
||||
? "attachment_" + attachment.id
|
||||
: attachment.name.toLowerCase().replaceAll("[^a-zA-Z0-9-.]", "_"));
|
||||
: attachment.name.toLowerCase().replaceAll("[^a-zA-Z0-9-.]" , "_"));
|
||||
|
||||
// https://developer.android.com/reference/android/support/v4/content/FileProvider
|
||||
Uri uri = FileProvider.getUriForFile(context, "eu.faircode.email", file);
|
||||
Uri uri = FileProvider.getUriForFile(context, "eu.faircode.email" , file);
|
||||
|
||||
// Build intent
|
||||
final Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
|
||||
Reference in New Issue
Block a user