From ca30fd6088d2150486d58e6d6db1ecf4ef20cde2 Mon Sep 17 00:00:00 2001 From: inorichi Date: Sat, 14 Oct 2017 18:37:23 +0200 Subject: [PATCH] Actually use latest Glide version. Minor doc fix --- app/build.gradle | 7 ++++--- .../kanade/tachiyomi/ui/manga/info/MangaInfoController.kt | 3 +-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 3c464147e..2303e3383 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 b9b982d04..faf0132a3 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)