Fix regression which caused the hearth button to be unresponsive
This commit is contained in:
parent
d758d2142d
commit
0b995ae9ab
1 changed files with 5 additions and 1 deletions
|
@ -76,7 +76,11 @@ fun Controls(
|
|||
mutableStateOf<Long?>(null)
|
||||
}
|
||||
|
||||
val likedAt by produceSaveableState<Long?>(initialValue = null, stateSaver = autoSaver()) {
|
||||
val likedAt by produceSaveableState<Long?>(
|
||||
initialValue = null,
|
||||
stateSaver = autoSaver(),
|
||||
mediaId
|
||||
) {
|
||||
Database
|
||||
.likedAt(mediaId)
|
||||
.flowOn(Dispatchers.IO)
|
||||
|
|
Loading…
Reference in a new issue