feat: support b23.tv parse and improve cover draw, format code, clean code

This commit is contained in:
2024-09-12 11:18:57 +08:00
parent bd585919ae
commit 1242d1fc3f
5 files changed
+33 -28

No files matched your search

@@ -33,11 +33,7 @@ class JrrpManager {
suspend fun isJrrped(id: Long): Boolean {
val record = getRecord(id)
return if (record != null) {
record.timestamp.isSameDay(Instant.now().epochSecond)
} else {
false
}
return record?.timestamp?.isSameDay(Instant.now().epochSecond) ?: false
}
suspend fun jrrp(id: Long): Long {