更新与修复界面

修复一些设备的导航栏着色
增加删除单个书籍缓存功能
增加阅读记录封面显示
恢复一些默认动效
This commit is contained in:
HapeLee committed 2025-08-09 18:26:28 +08:00
1 parent ccaf8973fe
commit 1607984faa
63 files changed
+592 -454

No files matched your search

@@ -1,6 +1,11 @@
package io.legato.kazusa.data.dao
import androidx.room.*
import androidx.room.Dao
import androidx.room.Delete
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import androidx.room.Update
import io.legato.kazusa.data.entities.ReadRecord
import io.legato.kazusa.data.entities.ReadRecordShow
@@ -38,6 +43,7 @@ interface ReadRecordDao {
@Query("select readTime from readRecord where deviceId = :androidId and bookName = :bookName")
fun getReadTime(androidId: String, bookName: String): Long?
@Insert(onConflict = OnConflictStrategy.REPLACE)
fun insert(vararg readRecord: ReadRecord)