Horis 1 год назад
Родитель
Сommit
908d27fdad

+ 3 - 1
app/src/main/java/io/legado/app/ui/book/source/manage/BookSourceAdapter.kt

@@ -159,7 +159,9 @@ class BookSourceAdapter(
     override fun onCurrentListChanged() {
         callBack.upCountView()
         recyclerView.doOnLayout {
-            notifyItemRangeChanged(0, itemCount, bundleOf("upSourceHost" to null))
+            handler.post {
+                notifyItemRangeChanged(0, itemCount, bundleOf("upSourceHost" to null))
+            }
         }
     }