瀏覽代碼

Change webtoon image callback to onReady

len 8 年之前
父節點
當前提交
d77a1e6925
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonHolder.kt

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/webtoon/WebtoonHolder.kt

@@ -64,7 +64,7 @@ class WebtoonHolder(private val view: View, private val adapter: WebtoonAdapter)
             setVerticalScrollingParent(true)
             setOnTouchListener(adapter.touchListener)
             setOnImageEventListener(object : SubsamplingScaleImageView.DefaultOnImageEventListener() {
-                override fun onImageLoaded() {
+                override fun onReady() {
                     onImageDecoded()
                 }