From 098f9caa3a497d86c85a3ee3dccbae662319ae87 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 5 Dec 2019 22:11:19 -0800 Subject: [PATCH] Update ChaptersController.kt --- .../eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt index fedd3f11d7..bd0c6bf7a7 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChaptersController.kt @@ -316,6 +316,7 @@ class ChaptersController() : NucleusController(), else -> setSelection(position) } lastClickPosition = position + adapter?.notifyDataSetChanged() } // SELECTIONS & ACTION MODE @@ -324,6 +325,7 @@ class ChaptersController() : NucleusController(), val adapter = adapter ?: return val item = adapter.getItem(position) ?: return adapter.toggleSelection(position) + adapter.notifyDataSetChanged() if (adapter.isSelected(position)) { selectedItems.add(item) } else {