Refactoring

This commit is contained in:
M66B
2023-12-29 13:16:22 +01:00
parent e533c07a1f
commit b78edd89a9
6 changed files with 17 additions and 17 deletions

View File

@@ -218,7 +218,7 @@ public class FragmentDialogPrint extends FragmentDialogBase {
HtmlHelper.embedInlineImages(context, id, document, true);
// onPageFinished will not be called if not all images can be loaded
File dir = new File(context.getFilesDir(), "images");
File dir = Helper.ensureExists(context, "images");
List<Future<Void>> futures = new ArrayList<>();
Elements imgs = document.select("img");
for (int i = 0; i < imgs.size(); i++) {