fix metadata, thumbnails and gallery view for locally mounted drives
This commit is contained in:
parent
f3b4e0bc6a
commit
26e223c4f0
3 changed files with 33 additions and 2 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue