mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 04:37:25 +01:00
Actually use latest Glide version. Minor doc fix
This commit is contained in:
parent
1470e9d5ca
commit
ca30fd6088
@ -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'
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user