diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt index 94ce0b961..30252949f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/MangaController.kt @@ -296,7 +296,7 @@ class MangaController : val scrolledList = binding.fullRecycler ?: binding.infoRecycler!! if (toolbarTextView == null) { toolbarTextView = (activity as? MainActivity)?.binding?.toolbar?.children - ?.find { it is TextView } as TextView + ?.find { it is TextView } as? TextView } toolbarTextView?.alpha = when { // Specific alpha provided