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

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

@ -128,9 +128,11 @@ 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)
if (item.lastRead > 0) {
tvLastReadTime.text = dateFormat.format(item.lastRead) tvLastReadTime.text = dateFormat.format(item.lastRead)
} }
} }
}
override fun registerListener(holder: ItemViewHolder, binding: ItemReadRecordBinding) { override fun registerListener(holder: ItemViewHolder, binding: ItemReadRecordBinding) {
binding.apply { binding.apply {

Loading…
Cancel
Save