Actually use latest Glide version. Minor doc fix

This commit is contained in:
inorichi 2017-10-14 18:37:23 +02:00
parent 1470e9d5ca
commit ca30fd6088
2 changed files with 5 additions and 5 deletions

View File

@ -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'

View File

@ -355,8 +355,7 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
* 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)