Change how the default theme gets determined

This commit is contained in:
Marshall Bowers 2023-10-09 16:53:28 -04:00
parent def67295e5
commit 312f3d2ab9
2 changed files with 9 additions and 13 deletions

View file

@ -50,7 +50,8 @@ fn main() {
let story_selector = args.story.clone();
let theme = themes::load_theme(args.theme);
let theme_name = args.theme.unwrap_or("One Dark".to_string());
let theme = themes::load_theme(theme_name);
let asset_source = Arc::new(Assets);
gpui3::App::production(asset_source).run(move |cx| {