pub async fn load_active_categories(
config: &Config,
filter: Option<&str>,
) -> Result<Vec<ShellCategory>>Expand description
Loads categories from whichever source is active: installed (external
presets mode) or embedded. Replaces the if config.is_external_presets { load_installed_categories } else { load_embedded_categories } branch
repeated at every call site.