mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 13:08:00 +01:00
adding a possible crashfix at photo fragment
This commit is contained in:
parent
09ac5e59e9
commit
ed0aa0b299
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||
}
|
||||
|
||||
override fun onError(e: Exception) {
|
||||
if (context != null) {
|
||||
if (activity != null) {
|
||||
tryLoadingWithGlide()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue