Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
Fixup aa1e210
Browse files Browse the repository at this point in the history
  • Loading branch information
asuka-mio committed May 26, 2023
1 parent 9d68992 commit 0a5cdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/com/hippo/ehviewer/spider/SpiderInfo.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ fun SpiderInfo.write(file: UniFile) {
suspend fun SpiderInfo.saveToCache() {
runSuspendCatching {
spiderInfoCache.edit(gid.toString()) {
data.toFile().writeBytes(Cbor.encodeToByteArray(this))
data.toFile().writeBytes(Cbor.encodeToByteArray(this@saveToCache))
}
}.onFailure {
it.printStackTrace()
Expand Down

0 comments on commit 0a5cdf7

Please sign in to comment.