Add downloads settings page

This commit is contained in:
2026-05-08 03:24:59 -04:00
parent 6ba7fd611c
commit e2d8b0cc6e
8 changed files with 336 additions and 2 deletions
@@ -81,4 +81,12 @@ impl BrowserCore {
profile.set_download_policy(download_policy);
Ok(())
}
pub fn set_active_profile_download_policy(
&mut self,
download_policy: DownloadPolicy,
) -> Result<(), CoreError> {
let profile_id = self.active_profile_id.clone();
self.set_profile_download_policy(&profile_id, download_policy)
}
}