mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
adding a possible crashfix at photo fragment
This commit is contained in:
@ -324,7 +324,7 @@ class PhotoFragment : ViewPagerFragment() {
|
||||
}
|
||||
|
||||
override fun onError(e: Exception) {
|
||||
if (context != null) {
|
||||
if (activity != null) {
|
||||
tryLoadingWithGlide()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user