fix metadata, thumbnails and gallery view for locally mounted drives

This commit is contained in:
Frederic Laing 2025-11-17 08:58:28 +01:00
parent f3b4e0bc6a
commit 26e223c4f0
No known key found for this signature in database
GPG key ID: C126157F0CDCD306
3 changed files with 33 additions and 2 deletions

View file

@ -90,6 +90,14 @@ impl MounterItem {
Self::None => unreachable!(),
}
}
pub fn is_remote(&self) -> bool {
match self {
#[cfg(feature = "gvfs")]
Self::Gvfs(item) => item.is_remote(),
Self::None => unreachable!(),
}
}
}
pub type MounterItems = Vec<MounterItem>;