Minor fixes

This commit is contained in:
len
2016-05-26 16:03:55 +02:00
parent 12d6919421
commit 4e784cd7c3
4 changed files with 7 additions and 3 deletions
@@ -260,7 +260,7 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
page_seekbar.max = numPages - 1
page_seekbar.progress = currentPage
setToolbarSubtitle(if (chapter.chapter_number != -1f)
setToolbarSubtitle(if (chapter.isRecognizedNumber)
getString(R.string.chapter_subtitle, decimalFormat.format(chapter.chapter_number.toDouble()))
else
chapter.name)