diff --git a/app/build.gradle b/app/build.gradle index 3c464147e5..2303e33838 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -170,9 +170,10 @@ dependencies { compile "uy.kohesive.injekt:injekt-core:1.16.1" // Image library - compile 'com.github.bumptech.glide:glide:4.1.1' - compile 'com.github.bumptech.glide:okhttp3-integration:4.1.1' - kapt 'com.github.bumptech.glide:compiler:4.1.1' + final glide_version = '4.2.0' + compile "com.github.bumptech.glide:glide:$glide_version" + compile "com.github.bumptech.glide:okhttp3-integration:$glide_version" + kapt "com.github.bumptech.glide:compiler:$glide_version" // Transformations compile 'jp.wasabeef:glide-transformations:3.0.1' diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt index b9b982d049..faf0132a3f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt @@ -355,8 +355,7 @@ class MangaInfoController : NucleusController(), * Retrieves the bitmap of the shortcut with the requested shape and calls [createShortcut] when * the resource is available. * - * @param i The shape index to apply. No transformation is performed if the parameter is not - * provided. + * @param i The shape index to apply. Defaults to circle crop transformation. */ private fun createShortcutForShape(i: Int = 0) { GlideApp.with(activity)