Minor fixes found during review

This commit is contained in:
Isaac Clayton 2022-07-11 10:37:51 +02:00
parent 8931218dc6
commit 8c91c5c575
3 changed files with 15 additions and 8 deletions

View file

@ -225,10 +225,10 @@ fn main() {
cx.spawn({
let languages = languages.clone();
|cx| async move {
// init_languages.await;
cx.read(|cx| {
languages.set_theme(cx.global::<Settings>().theme.editor.syntax.clone())
});
init_languages.await;
}
})
.detach();