Skip to main content

profiles_get_ask_on_start

Function profiles_get_ask_on_start 

Source
pub async fn profiles_get_ask_on_start(
    db: State<'_, DatabaseWrapper>,
) -> Result<bool, String>
Expand description

Read the “ask who’s watching on start” setting.

Separate from profiles_startup_target on purpose: the target can be Picker for reasons that have nothing to do with this setting — a PIN-protected last profile always asks — so deriving the toggle’s position from it would show the user a switch that does not describe what it controls.

TRACES: UR-082 | DR-274