mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 00:23:09 +02:00
Refactoring
This commit is contained in:
@@ -997,7 +997,7 @@ public class Helper {
|
||||
|
||||
static void share(Context context, File file, String type, String name) {
|
||||
// https://developer.android.com/reference/androidx/core/content/FileProvider
|
||||
Uri uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, file);
|
||||
Uri uri = FileProviderEx.getUri(context, BuildConfig.APPLICATION_ID, file, name);
|
||||
share(context, uri, type, name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user