Minor fixes found during review
This commit is contained in:
parent
8931218dc6
commit
8c91c5c575
3 changed files with 15 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue