diff --git a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt index 13799eecf..e392ffc13 100644 --- a/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt +++ b/app/src/main/java/io/legado/app/ui/changesource/ChangeSourceViewModel.kt @@ -28,7 +28,7 @@ class ChangeSourceViewModel(application: Application) : BaseViewModel(applicatio } } - fun upAdapter() { + private fun upAdapter() { callBack?.adapter()?.let { val diffResult = DiffUtil.calculateDiff(DiffCallBack(it.getItems(), searchBooks.toList())) diffResult.dispatchUpdatesTo(it)