fix: filter local animation cache sources

This commit is contained in:
2026-09-24 19:44:48 +08:00
parent 403b84996f
commit bc7f249c20
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -332,7 +332,7 @@ fn kind_of_item(item: &MediaItemPayload) -> CachedMediaKind {
/// A cache entry may replay a remote source URL. Local temp paths disappear
/// when the task settles and must never be persisted as a source.
fn replayable_cache_url(media: &str) -> String {
pub(super) fn replayable_cache_url(media: &str) -> String {
if media.starts_with("http://") || media.starts_with("https://") {
media.to_string()
} else {