mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-13 17:37:30 +01:00
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) {
|
||||
manga_chapters?.text = DecimalFormat("#.#").format(count)
|
||||
} else {
|
||||
manga_chapters?.text = resources!!.getString(R.string.unknown)
|
||||
manga_chapters?.text = resources?.getString(R.string.unknown)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue