From 4aba3b4c37beb43ca1f033a7621a78a894051093 Mon Sep 17 00:00:00 2001 From: Carlos Escobedo Date: Thu, 25 Jan 2018 06:26:10 -0500 Subject: [PATCH] added else to be Unknown instead of blank --- .../eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt index 8f493e2776..9772f4bdb2 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/info/MangaInfoController.kt @@ -250,6 +250,8 @@ class MangaInfoController : NucleusController(), fun setChapterCount(count: Float) { if (count > 0f) { manga_chapters?.text = DecimalFormat("#.#").format(count) + } else { + manga_chapters?.text = resources!!.getString(R.string.unknown) } }