parent
90fc680666
commit
63176a1e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -1070,7 +1070,7 @@ impl Operation {
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
Self::Restore { .. } => {
|
Self::Restore { .. } => {
|
||||||
// TODO: add support for macos
|
// TODO: add support for macos
|
||||||
return Err("Restoring from trash is not supported on macos".to_string());
|
return OperationError::from_str("Restoring from trash is not supported on macos");
|
||||||
}
|
}
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
Self::Restore { items } => {
|
Self::Restore { items } => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue