We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f96338c commit abe244eCopy full SHA for abe244e
crates/matrix-sdk-indexeddb/src/media_store/mod.rs
@@ -379,13 +379,10 @@ impl MediaStoreInner for IndexeddbMediaStore {
379
CursorDirection::Prev,
380
ignore_policy,
381
0usize,
382
- |total, key| {
383
- web_sys::console::log_1(&format!("total={total}, key={key:?}").into());
384
- match total.checked_add(key.content_size()) {
385
- None => None,
386
- Some(total) if total > max_cache_size as usize => None,
387
- Some(total) => Some(total),
388
- }
+ |total, key| match total.checked_add(key.content_size()) {
+ None => None,
+ Some(total) if total > max_cache_size as usize => None,
+ Some(total) => Some(total),
389
},
390
)
391
.await?;
0 commit comments