From 3fdbd4a855c96831bd1f0e4b8dc570ebdd5990a8 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 12 Jul 2020 18:54:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/legado/app/ui/main/bookshelf/books/BooksDiffCallBack.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksDiffCallBack.kt b/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksDiffCallBack.kt index f66c6480f..7b3253334 100644 --- a/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksDiffCallBack.kt +++ b/app/src/main/java/io/legado/app/ui/main/bookshelf/books/BooksDiffCallBack.kt @@ -61,7 +61,7 @@ class BooksDiffCallBack(private val oldItems: List, private val newItems: || oldItem.getUnreadChapterNum() != newItem.getUnreadChapterNum() || oldItem.lastCheckCount != newItem.lastCheckCount ) { - bundle.putString("refresh", null) + bundle.putBoolean("refresh", true) } if (bundle.isEmpty) return null return bundle