Refactoring

This commit is contained in:
M66B
2023-11-20 08:51:22 +01:00
parent cef79942f4
commit b94e461e6c
8 changed files with 24 additions and 11 deletions

View File

@@ -2407,7 +2407,7 @@ public class HtmlHelper {
if (attachment != null && attachment.available) {
File file = attachment.getFile(context);
if (local) {
Uri uri = FileProvider.getUriForFile(context, BuildConfig.APPLICATION_ID, file);
Uri uri = FileProviderEx.getUri(context, BuildConfig.APPLICATION_ID, file, attachment.name);
img.attr("src", uri.toString());
Log.i("Inline image uri=" + uri);
} else {