Dependency updates

This commit is contained in:
inorichi
2018-02-18 20:02:31 +01:00
parent fc1f290b85
commit 49eb638e15
6 changed files with 24 additions and 24 deletions

View File

@@ -439,7 +439,8 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
* @param i The shape index to apply. Defaults to circle crop transformation.
*/
private fun createShortcutForShape(i: Int = 0) {
GlideApp.with(activity)
if (activity == null) return
GlideApp.with(activity!!)
.asBitmap()
.load(presenter.manga)
.diskCacheStrategy(DiskCacheStrategy.NONE)
@@ -534,4 +535,4 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
}
}
}
}