fix: dont omit default preference for light theme
This commit is contained in:
parent
a79ac361f1
commit
b15ae66ac8
1 changed files with 1 additions and 1 deletions
|
|
@ -527,7 +527,7 @@ impl Theme {
|
||||||
if let Ok(cmd) = cmd {
|
if let Ok(cmd) = cmd {
|
||||||
let color_scheme = String::from_utf8_lossy(&cmd.stdout);
|
let color_scheme = String::from_utf8_lossy(&cmd.stdout);
|
||||||
|
|
||||||
if color_scheme.trim().contains("light") {
|
if color_scheme.trim().contains("default") || color_scheme.trim().contains("light") {
|
||||||
return Self::light_default();
|
return Self::light_default();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue