Skip to main content

get_downloads_allowed

Function get_downloads_allowed 

Source
pub async fn get_downloads_allowed(app: AppHandle) -> Result<bool, String>
Expand description

Whether downloads are currently permitted by the WiFi-only gate.

The downloads UI uses this to render “Waiting for WiFi” on pending rows rather than leaving them looking silently stuck.

TRACES: UR-053 | DR-074