CacheLimitPreference
fun CacheLimitPreference(cacheLimit: Int, onCheckEvictionCount: suspend (Int) -> Int, onSetCacheLimit: (Int) -> Unit)(source)
Device DB cache limit dropdown, shared between the Android and Desktop settings screens. Lowering the limit below the number of currently-cached device databases evicts the least-recently-used ones and permanently deletes their local history, so a lower value is gated behind a confirmation showing how many devices would be affected. Raising or leaving the limit unchanged never evicts anything and applies immediately.