feat(settings): persist settings to storage

This commit is contained in:
Fernando López Guevara
2025-07-23 23:04:49 -03:00
committed by William Casarin
parent 5280028a82
commit b8207106d7
9 changed files with 339 additions and 67 deletions

View File

@@ -115,7 +115,8 @@ impl ChromePanelAction {
ui.ctx().options_mut(|o| {
o.theme_preference = *theme;
});
ctx.theme.save(*theme);
ctx.settings_handler.set_theme(*theme);
ctx.settings_handler.save();
}
Self::Toolbar(toolbar_action) => match toolbar_action {