瀏覽代碼

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.
arkon 4 年之前
父節點
當前提交
762f5bdc33
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/build.gradle.kts

+ 2 - 2
app/build.gradle.kts

@@ -73,7 +73,7 @@ android {
                     isRemoveUnusedCode = false
                     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")
     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
     implementation("com.jakewharton.timber:timber:4.7.1")