阅读记录添加最后阅读时间
This commit is contained in:
@@ -130,6 +130,8 @@ class ReadRecordActivity : BaseActivity<ActivityReadRecordBinding>() {
|
|||||||
tvReadingTime.text = formatDuring(item.readTime)
|
tvReadingTime.text = formatDuring(item.readTime)
|
||||||
if (item.lastRead > 0) {
|
if (item.lastRead > 0) {
|
||||||
tvLastReadTime.text = dateFormat.format(item.lastRead)
|
tvLastReadTime.text = dateFormat.format(item.lastRead)
|
||||||
|
} else {
|
||||||
|
tvLastReadTime.text = ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user