From c213d868a9458d8e2bad61f2b6d7716d301e04dd Mon Sep 17 00:00:00 2001 From: k1rakishou Date: Wed, 5 Feb 2020 22:01:28 +0300 Subject: [PATCH] Fix for an attempt to prefetch local thread --- .../adamantcheese/chan/core/presenter/ThreadPresenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/presenter/ThreadPresenter.java b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/presenter/ThreadPresenter.java index 38530416dd..50c66ea55e 100644 --- a/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/presenter/ThreadPresenter.java +++ b/Kuroba/app/src/main/java/com/github/adamantcheese/chan/core/presenter/ThreadPresenter.java @@ -563,7 +563,7 @@ public void onChanLoaderData(ChanThread result) { } } - if (ChanSettings.autoLoadThreadImages.get() && !loadable.isLocal()) { + if (ChanSettings.autoLoadThreadImages.get() && !loadable.isLocal() && !loadable.isDownloading()) { List postImageList = new ArrayList<>(16); cancelPrefetching();