switched to null safe ?.
This commit is contained in:
parent
7d64fee22c
commit
97a9300d1b
1 changed files with 536 additions and 536 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue