aboutsummaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2021-11-27 12:21:51 +0000
committerGitHub <noreply@github.com>2021-11-27 12:21:51 +0000
commit806fcf397b1befc99f2077cb49929aa592e41506 (patch)
tree01b76d0c3a9c9b377d9987ab5eaaa08f864b2c91 /app/src
parent091dd5180118e0c5fc3c9fa5d4c7248fcffa0120 (diff)
parent86d9761f09094920f47183bf2e524666513cc281 (diff)
downloadinfinity-for-reddit-806fcf397b1befc99f2077cb49929aa592e41506.tar
infinity-for-reddit-806fcf397b1befc99f2077cb49929aa592e41506.tar.gz
infinity-for-reddit-806fcf397b1befc99f2077cb49929aa592e41506.tar.bz2
infinity-for-reddit-806fcf397b1befc99f2077cb49929aa592e41506.tar.lz
infinity-for-reddit-806fcf397b1befc99f2077cb49929aa592e41506.tar.xz
infinity-for-reddit-806fcf397b1befc99f2077cb49929aa592e41506.tar.zst
infinity-for-reddit-806fcf397b1befc99f2077cb49929aa592e41506.zip
Merge pull request #549 from scria1000/gallery-destroy-fix
Don't cancel all ImageLoader instances
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java
index 05f0ab7a..494d6b44 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java
@@ -427,7 +427,7 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
@Override
public void onDestroyView() {
super.onDestroyView();
- BigImageViewer.imageLoader().cancelAll();
+ imageView.cancel();
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
if (subsamplingScaleImageView != null) {
subsamplingScaleImageView.recycle();