diff options
author | Docile-Alligator <chineseperson5@gmail.com> | 2021-11-27 12:21:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-27 12:21:51 +0000 |
commit | 806fcf397b1befc99f2077cb49929aa592e41506 (patch) | |
tree | 01b76d0c3a9c9b377d9987ab5eaaa08f864b2c91 /app/src | |
parent | 091dd5180118e0c5fc3c9fa5d4c7248fcffa0120 (diff) | |
parent | 86d9761f09094920f47183bf2e524666513cc281 (diff) | |
download | infinity-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.java | 2 |
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(); |