mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 04:49:17 +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) {
|
||||
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 New Issue
Block a user