Skip to main content

get_settings

Function get_settings 

Source
pub async fn get_settings(
    scheduler: State<'_, Scheduler>,
    supporter_state: State<'_, SupporterAppState>,
) -> Result<Settings, String>
Expand description

Return a clone of the active profile’s Settings. The renderer calls this on mount and again whenever the active profile changes.

custom_css is blanked for non-supporters so the renderer can’t apply (or even read back) a stylesheet they aren’t licensed for. The on-disk value is preserved — re-activating the license restores it.