mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 11:31:54 +01:00
added else to be Unknown instead of blank
This commit is contained in:
parent
431676acd1
commit
4aba3b4c37
@ -250,6 +250,8 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
|
||||
fun setChapterCount(count: Float) {
|
||||
if (count > 0f) {
|
||||
manga_chapters?.text = DecimalFormat("#.#").format(count)
|
||||
} else {
|
||||
manga_chapters?.text = resources!!.getString(R.string.unknown)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user