mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 05:59:14 +01:00
switched to null safe ?.
This commit is contained in:
parent
7d64fee22c
commit
97a9300d1b
@ -251,7 +251,7 @@ class MangaInfoController : NucleusController<MangaInfoPresenter>(),
|
|||||||
if (count > 0f) {
|
if (count > 0f) {
|
||||||
manga_chapters?.text = DecimalFormat("#.#").format(count)
|
manga_chapters?.text = DecimalFormat("#.#").format(count)
|
||||||
} else {
|
} else {
|
||||||
manga_chapters?.text = resources!!.getString(R.string.unknown)
|
manga_chapters?.text = resources?.getString(R.string.unknown)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user