Clean up theme loading
This commit is contained in:
parent
312f3d2ab9
commit
0d903f4d0d
2 changed files with 9 additions and 6 deletions
|
@ -51,7 +51,7 @@ fn main() {
|
|||
let story_selector = args.story.clone();
|
||||
|
||||
let theme_name = args.theme.unwrap_or("One Dark".to_string());
|
||||
let theme = themes::load_theme(theme_name);
|
||||
let theme = themes::load_theme(theme_name).unwrap();
|
||||
|
||||
let asset_source = Arc::new(Assets);
|
||||
gpui3::App::production(asset_source).run(move |cx| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue