mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-09 04:49:33 +02: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:
@@ -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")
|
||||||
|
Reference in New Issue
Block a user