mirror of
https://github.com/readest/readest.git
synced 2026-04-29 03:50:52 +00:00
parent
ad551a04a1
commit
172ab382bc
19 changed files with 148 additions and 20 deletions
|
|
@ -51,3 +51,10 @@ pub(crate) async fn set_system_ui_visibility<R: Runtime>(
|
|||
) -> Result<SetSystemUIVisibilityResponse> {
|
||||
app.native_bridge().set_system_ui_visibility(payload)
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn get_status_bar_height<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
) -> Result<GetStatusBarHeightResponse> {
|
||||
app.native_bridge().get_status_bar_height()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue