adding a possible crashfix at photo fragment

This commit is contained in:
tibbi 2019-01-08 13:45:47 +01:00
parent 09ac5e59e9
commit ed0aa0b299
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ class PhotoFragment : ViewPagerFragment() {
}
override fun onError(e: Exception) {
if (context != null) {
if (activity != null) {
tryLoadingWithGlide()
}
}