feat: immersive UI in reader page on iOS and Android, closes #886 and closes #864 (#911)

This commit is contained in:
Huang Xin 2025-04-19 22:43:39 +08:00 committed by GitHub
parent 759779a98d
commit cf66665096
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 327 additions and 60 deletions

View file

@ -43,3 +43,11 @@ pub(crate) async fn install_package<R: Runtime>(
) -> Result<InstallPackageResponse> {
app.native_bridge().install_package(payload)
}
#[command]
pub(crate) async fn set_system_ui_visibility<R: Runtime>(
app: AppHandle<R>,
payload: SetSystemUIVisibilityRequest,
) -> Result<SetSystemUIVisibilityResponse> {
app.native_bridge().set_system_ui_visibility(payload)
}