Fixed failling tests
This commit is contained in:
parent
ea39983f78
commit
2802e3a1c6
3 changed files with 6 additions and 7 deletions
|
@ -303,7 +303,7 @@ pub fn initialize_workspace(
|
|||
|
||||
let theme_names = app_state
|
||||
.themes
|
||||
.list(**cx.global::<StaffMode>())
|
||||
.list(**cx.try_global::<StaffMode>().unwrap_or(&StaffMode(false)))
|
||||
.map(|meta| meta.name)
|
||||
.collect();
|
||||
let language_names = app_state.languages.language_names();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue