Nav bar trash icon loads state at startup
This commit is contained in:
parent
2e84a26f7e
commit
60eeb724d1
2 changed files with 2 additions and 7 deletions
|
|
@ -103,7 +103,7 @@ pub fn folder_icon_symbolic(path: &PathBuf, icon_size: u16) -> widget::icon::Han
|
|||
.handle()
|
||||
}
|
||||
|
||||
fn trash_icon_symbolic(icon_size: u16) -> widget::icon::Handle {
|
||||
pub fn trash_icon_symbolic(icon_size: u16) -> widget::icon::Handle {
|
||||
let full = match trash::os_limited::list() {
|
||||
Ok(entries) => !entries.is_empty(),
|
||||
Err(_err) => false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue