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 c141a1b commit 2db319d
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 @@ -520,7 +520,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 2db319d

Please sign in to comment.