fix linux build break

This commit is contained in:
Nguyen Duc Toan 2023-09-30 13:38:15 +07:00
parent 1a05a2245f
commit 102c30061e

View file

@ -74,7 +74,7 @@ impl<'a> Folder<'a> {
#[cfg(target_os = "windows")] #[cfg(target_os = "windows")]
let (head, body, tail) = finder.explode(&short.name.to_string_lossy())?; let (head, body, tail) = finder.explode(&short.name.to_string_lossy())?;
#[cfg(not(target_os = "windows"))] #[cfg(not(target_os = "windows"))]
let (head, body, tail) = finder.explode(short.name)?; let (head, body, tail) = finder.explode(&short.name)?;
// TODO: to be configured by THEME? // TODO: to be configured by THEME?
let style = Style::new().fg(Color::Rgb(255, 255, 50)).add_modifier(Modifier::ITALIC); let style = Style::new().fg(Color::Rgb(255, 255, 50)).add_modifier(Modifier::ITALIC);