Restore welcome page and several pickers

This commit is contained in:
Mikayla 2023-11-28 15:25:28 -08:00
parent d927c2f497
commit ed8e62cd18
No known key found for this signature in database
4 changed files with 63 additions and 69 deletions

View file

@ -1269,16 +1269,16 @@ impl ProjectPanel {
let icon = match entry.kind {
EntryKind::File(_) => {
if show_file_icons {
Some(FileAssociations::get_icon(&entry.path, cx))
FileAssociations::get_icon(&entry.path, cx)
} else {
None
}
}
_ => {
if show_folder_icons {
Some(FileAssociations::get_folder_icon(is_expanded, cx))
FileAssociations::get_folder_icon(is_expanded, cx)
} else {
Some(FileAssociations::get_chevron_icon(is_expanded, cx))
FileAssociations::get_chevron_icon(is_expanded, cx)
}
}
};