pub(crate) async fn downloads_allowed_on_current_network(
app: &AppHandle,
) -> boolExpand description
Whether the current network permits downloads, given the user’s WiFi-only preference.
Reads wifi_only from the SmartCache config (the single home of the
setting) and checks it against the transport reported by the platform. On
desktop the transport defaults to unmetered ethernet, so this is always
true there.
TRACES: UR-053 | DR-074