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
|
|
@ -3587,7 +3587,7 @@ impl Tab {
|
|||
match item_from_path(&path, IconSizes::default()) {
|
||||
Ok(item) => {
|
||||
commands.push(Command::Preview(PreviewKind::Custom(
|
||||
PreviewItem(item),
|
||||
PreviewItem(Box::new(item)),
|
||||
)));
|
||||
}
|
||||
Err(err) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue