feel better : optimized tree display
This commit is contained in:
parent
7fabb8a9ec
commit
f8e450cb3b
|
@ -2,7 +2,6 @@ use std::ffi::OsStr;
|
|||
use std::fs;
|
||||
use std::io;
|
||||
use std::path::{Path, PathBuf};
|
||||
//use eframe::egui;
|
||||
|
||||
use crate::tools;
|
||||
use crate::ALLOWED_FILE_EXTENSIONS;
|
||||
|
@ -25,15 +24,6 @@ impl File {
|
|||
folder_open: false,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn empty() -> Self {
|
||||
Self {
|
||||
name: "No file found".into(),
|
||||
path: Path::new("/").to_path_buf(),
|
||||
folder_content: None,
|
||||
folder_open: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ pub mod confirm;
|
|||
pub mod search;
|
||||
pub mod settings;
|
||||
pub mod shortcuts;
|
||||
pub mod file_tree;
|
||||
|
||||
pub mod terminal;
|
||||
pub use terminal::*;
|
||||
|
|
Loading…
Reference in a new issue