mirror of https://github.com/lapce/lapce.git
Remove useless fallback
This commit is contained in:
parent
91de10092d
commit
8268e3fccf
|
@ -379,14 +379,7 @@ pub fn load(workspace: &LapceWorkspace) -> Result<Self> {
|
|||
|
||||
config.themes = Themes::default();
|
||||
|
||||
if config
|
||||
.themes
|
||||
.apply_theme(&config.lapce.color_theme)
|
||||
.is_err()
|
||||
{
|
||||
// Set as preview so we won't overwrite the user's theme setting.
|
||||
config.set_theme("Lapce Light", true);
|
||||
}
|
||||
let _ = config.themes.apply_theme(&config.lapce.color_theme);
|
||||
|
||||
Ok(config)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue