Fix incorrect label in auto-migration

This commit is contained in:
NerdNumber9 2019-08-09 05:20:11 -04:00
parent 9c70e69300
commit 8a7f8c4068

View File

@ -244,7 +244,7 @@ class MigrationProcedureAdapter(val controller: MigrationProcedureController,
val lastUpdate = Date(mangaChapters.maxBy { it.date_upload }?.date_upload ?: 0)
if (latestChapter > 0f) {
manga_last_chapter.text = DecimalFormat("#.#").format(count)
manga_last_chapter.text = DecimalFormat("#.#").format(latestChapter)
} else {
manga_last_chapter.setText(R.string.unknown)
}