阅读记录添加最后阅读时间

pull/2088/head
kunfei 2 years ago
parent 4837b449f7
commit 06dad8e879
  1. 4
      app/src/main/java/io/legado/app/ui/about/ReadRecordActivity.kt

@ -128,7 +128,9 @@ class ReadRecordActivity : BaseActivity<ActivityReadRecordBinding>() {
binding.apply { binding.apply {
tvBookName.text = item.bookName tvBookName.text = item.bookName
tvReadingTime.text = formatDuring(item.readTime) tvReadingTime.text = formatDuring(item.readTime)
tvLastReadTime.text = dateFormat.format(item.lastRead) if (item.lastRead > 0) {
tvLastReadTime.text = dateFormat.format(item.lastRead)
}
} }
} }

Loading…
Cancel
Save