Fix compilation without gvfs feature
This commit is contained in:
parent
2b1abc7c23
commit
d80c358ca5
2 changed files with 7 additions and 1 deletions
|
|
@ -163,7 +163,6 @@ impl Gvfs {
|
|||
event_tx.send(Event::Items(items)).unwrap();
|
||||
}
|
||||
Cmd::Mount(mounter_item) => {
|
||||
#[allow(irrefutable_let_patterns)]
|
||||
let MounterItem::Gvfs(item) = mounter_item else { continue };
|
||||
let ItemKind::Volume = item.kind else { continue };
|
||||
for (i, volume) in monitor.volumes().into_iter().enumerate() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue