Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrtwhite committed Nov 14, 2024
1 parent f93ac43 commit 3410e43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion coil-core/src/commonMain/kotlin/coil3/disk/DiskLruCache.kt
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,9 @@ internal class DiskLruCache(

val entry = lruEntries[key] ?: return false
val removed = removeEntry(entry)
if (removed && size <= maxSize) mostRecentTrimFailed = false
if (removed && size <= maxSize) {
mostRecentTrimFailed = false
}
return removed
}

Expand Down

0 comments on commit 3410e43

Please sign in to comment.