From 37314ba675f7d3215d51d7aeaf48d2c1e7eedba8 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Fri, 17 Feb 2023 13:43:12 -0500 Subject: [PATCH] Fix local sources showing a download button in details --- .../java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt index 8bc01a946a21..e60861fe748b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt @@ -45,6 +45,7 @@ class ChapterHolder( } binding.downloadButton.downloadButton.isVisible = !manga.isLocal() && !isLocked + localSource = manga.isLocal() ChapterUtil.setTextViewForChapter(binding.chapterTitle, item, hideStatus = isLocked)