pull/1771/head
kunfei 3 years ago
parent 73c30e0ed0
commit 6c40be6cb1
  1. 4
      app/src/main/java/io/legado/app/ui/main/explore/ExploreAdapter.kt

@ -59,7 +59,9 @@ class ExploreAdapter(context: Context, val callBack: CallBack) :
Coroutine.async(callBack.scope) {
item.exploreKinds
}.onSuccess { kindList ->
kotlin.runCatching {
upKindList(flexbox, item.bookSourceUrl, kindList)
}
}.onFinally {
rotateLoading.hide()
if (scrollTo >= 0) {
@ -67,7 +69,7 @@ class ExploreAdapter(context: Context, val callBack: CallBack) :
scrollTo = -1
}
}
} else {
} else kotlin.runCatching {
ivStatus.setImageResource(R.drawable.ic_arrow_right)
rotateLoading.hide()
recyclerFlexbox(flexbox)

Loading…
Cancel
Save