Horis пре 1 година
родитељ
комит
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() {
     override fun onCurrentListChanged() {
         callBack.upCountView()
         callBack.upCountView()
         recyclerView.doOnLayout {
         recyclerView.doOnLayout {
-            notifyItemRangeChanged(0, itemCount, bundleOf("upSourceHost" to null))
+            handler.post {
+                notifyItemRangeChanged(0, itemCount, bundleOf("upSourceHost" to null))
+            }
         }
         }
     }
     }