perf: reduce size of DialogPage enum by 1000 bytes
This commit is contained in:
parent
72b40aece3
commit
cd48e4fa30
3 changed files with 7 additions and 7 deletions
|
|
@ -34,7 +34,7 @@ async fn handle_replace(
|
|||
conflict_count: usize,
|
||||
) -> ReplaceResult {
|
||||
let item_from = match tab::item_from_path(file_from, IconSizes::default()) {
|
||||
Ok(ok) => ok,
|
||||
Ok(ok) => Box::new(ok),
|
||||
Err(err) => {
|
||||
log::warn!("{err}");
|
||||
return ReplaceResult::Cancel;
|
||||
|
|
@ -42,7 +42,7 @@ async fn handle_replace(
|
|||
};
|
||||
|
||||
let item_to = match tab::item_from_path(file_to, IconSizes::default()) {
|
||||
Ok(ok) => ok,
|
||||
Ok(ok) => Box::new(ok),
|
||||
Err(err) => {
|
||||
log::warn!("{err}");
|
||||
return ReplaceResult::Cancel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue