Adjust APIs for simpler examples in blog post

This commit is contained in:
Nathan Sobo 2024-01-17 21:18:07 -07:00
parent 933fb87013
commit 1d3ca8eb5d
4 changed files with 13 additions and 8 deletions

View file

@ -60,8 +60,7 @@ fn main() {
});
let theme_name = args.theme.unwrap_or("One Dark".to_string());
let asset_source = Arc::new(Assets);
gpui::App::production(asset_source).run(move |cx| {
gpui::App::new().with_assets(Assets).run(move |cx| {
load_embedded_fonts(cx).unwrap();
let mut store = SettingsStore::default();