|
@@ -372,9 +372,7 @@ impl FileNameColours for Theme {
|
|
|
fn executable_file(&self) -> Style { self.ui.filekinds.executable }
|
|
fn executable_file(&self) -> Style { self.ui.filekinds.executable }
|
|
|
fn mount_point(&self) -> Style { self.ui.filekinds.mount_point }
|
|
fn mount_point(&self) -> Style { self.ui.filekinds.mount_point }
|
|
|
|
|
|
|
|
- fn icon(&self) -> Option<Style> {
|
|
|
|
|
- self.ui.icon.map_or(None, |icon| Some(icon))
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ fn icon(&self) -> Option<Style> { self.ui.icon }
|
|
|
|
|
|
|
|
fn colour_file(&self, file: &File<'_>) -> Style {
|
|
fn colour_file(&self, file: &File<'_>) -> Style {
|
|
|
self.exts
|
|
self.exts
|