mirror of
				https://github.com/SimpleMobileTools/Simple-Gallery.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	adding a few more checks at activity state at loading fullscreen images
This commit is contained in:
		| @@ -373,7 +373,7 @@ class PhotoFragment : ViewPagerFragment() { | ||||
|                 .apply(options) | ||||
|                 .listener(object : RequestListener<Drawable> { | ||||
|                     override fun onLoadFailed(e: GlideException?, model: Any?, target: Target<Drawable>?, isFirstResource: Boolean): Boolean { | ||||
|                         if (activity != null) { | ||||
|                         if (activity != null && !activity!!.isDestroyed && !activity!!.isFinishing) { | ||||
|                             tryLoadingWithPicasso(addZoomableView) | ||||
|                         } | ||||
|                         return false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user