mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-03-04 03:27:57 +01:00
adding a possible crashfix at photo fragment
This commit is contained in:
parent
09ac5e59e9
commit
ed0aa0b299
@ -324,7 +324,7 @@ class PhotoFragment : ViewPagerFragment() {
|
||||
}
|
||||
|
||||
override fun onError(e: Exception) {
|
||||
if (context != null) {
|
||||
if (activity != null) {
|
||||
tryLoadingWithGlide()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user