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…
Reference in New Issue