This commit is contained in:
7w1 committed 2026-07-22 11:38:34 -05:00
1 parent f947dd5c78
commit 3000ea16af
3 files changed
+5 -2

No files matched your search

+3
View File
@@ -222,6 +222,7 @@ async fn ensure_cached(
.await
}
#[allow(clippy::too_many_arguments)]
async fn ensure_cached_with_limits(
state: &MediaSessionState,
session: &MediaSession,
@@ -305,6 +306,7 @@ async fn ensure_cached_with_limits(
}
}
#[allow(clippy::too_many_arguments)]
async fn fetch_and_cache(
state: &MediaSessionState,
session: &MediaSession,
@@ -409,6 +411,7 @@ async fn write_cache(
.unwrap_or(false)
}
#[allow(dead_code)]
fn fits_in_cache(len: u64) -> bool {
len <= MAX_CACHE_BYTES
}
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type DesktopRuntimeState = { trayAvailable: boolean };
export type DesktopRuntimeState = { trayAvailable: boolean, };
@@ -1,3 +1,3 @@
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
export type DesktopSettings = { closeToBackgroundOnClose: boolean; showSystemTrayIcon: boolean };
export type DesktopSettings = { closeToBackgroundOnClose: boolean, showSystemTrayIcon: boolean, };