mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Switch to version of SubsamplingScaleImageView with new image decoder
Courtesy of @inorichi. Branch: https://github.com/tachiyomiorg/subsampling-scale-image-view/commits/tachiyomi-new-decoder Decoding speed will be a bit slower now due to two passes if crop borders is enabled, but should be more reliable on colored images and work for black borders. Memory usage (re: leaks) should also be better.
This commit is contained in:
parent
bebb52b4e8
commit
762f5bdc33
1 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ android {
|
||||||
isRemoveUnusedCode = false
|
isRemoveUnusedCode = false
|
||||||
isRemoveUnusedResources = true
|
isRemoveUnusedResources = true
|
||||||
}
|
}
|
||||||
setProguardFiles(listOf("proguard-rules.pro"))
|
setProguardFiles(listOf(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"))
|
||||||
}*/
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -211,7 +211,7 @@ dependencies {
|
||||||
implementation("com.github.bumptech.glide:okhttp3-integration:$glideVersion")
|
implementation("com.github.bumptech.glide:okhttp3-integration:$glideVersion")
|
||||||
kapt("com.github.bumptech.glide:compiler:$glideVersion")
|
kapt("com.github.bumptech.glide:compiler:$glideVersion")
|
||||||
|
|
||||||
implementation("com.github.tachiyomiorg:subsampling-scale-image-view:6caf219")
|
implementation("com.github.tachiyomiorg:subsampling-scale-image-view:ea1e51b")
|
||||||
|
|
||||||
// Logging
|
// Logging
|
||||||
implementation("com.jakewharton.timber:timber:4.7.1")
|
implementation("com.jakewharton.timber:timber:4.7.1")
|
||||||
|
|
Loading…
Reference in a new issue