This commit is contained in:
Sag0Sag0 2019-06-18 14:18:32 +10:00 committed by Pierre Peltier
parent dd10a6e543
commit 79ebe268f2

View file

@ -41,7 +41,7 @@ impl Core {
_ => color::Theme::Default,
};
let icon_theme = match (tty_available, flags.icon, flags.icon_theme, ) {
let icon_theme = match (tty_available, flags.icon, flags.icon_theme) {
(_, WhenFlag::Never, _) | (false, WhenFlag::Auto, _) | (true, _, _) => icon::Theme::NoIcon,
(_, _, IconTheme::Fancy) => icon::Theme::Fancy,
(_, _, IconTheme::Unicode) => icon::Theme::Unicode,