Improved debug info

pull/215/head
M66B 5 months ago
parent 73201f7e81
commit 31c16abbc6

@ -2468,8 +2468,10 @@ public class HtmlHelper {
Uri uri = FileProviderEx.getUri(context, BuildConfig.APPLICATION_ID, file, attachment.name); Uri uri = FileProviderEx.getUri(context, BuildConfig.APPLICATION_ID, file, attachment.name);
img.attr("src", uri.toString()); img.attr("src", uri.toString());
Log.i("Inline image uri=" + uri); Log.i("Inline image uri=" + uri);
} else } else {
img.attr("src", ImageHelper.getDataUri(file, attachment.type)); img.attr("src", ImageHelper.getDataUri(file, attachment.type));
Log.i("Inline image type=" + attachment.type);
}
} }
} }
} }

Loading…
Cancel
Save