Function update_settings
Source pub fn update_settings(settings: AppSettings) -> Result<(), String>
Expand description
Updates the in-memory preferences and persists the changes to disk.
§Arguments
settings - The new AppSettings configuration to apply globally.
§Returns
A Result indicating success or containing an error string.