cleanup and improved function tests

This commit is contained in:
Simon Gardling
2022-05-13 11:38:00 -04:00
parent 82ef9c24a6
commit 2d63c1b5f7
8 changed files with 183 additions and 66 deletions

View File

@@ -240,7 +240,7 @@ impl MathApp {
loading_element.remove();
Self {
functions: get_functions().unwrap_or(FunctionManager::default()),
functions: get_functions().unwrap_or_default(),
last_info: (vec![None], None),
dark_mode: true, // dark mode is default and is previously set
text: data.text,