mirror of
https://github.com/readest/readest.git
synced 2026-04-29 12:00:49 +00:00
parent
6299ea09b7
commit
5e04f6ae03
37 changed files with 375 additions and 21 deletions
|
|
@ -73,3 +73,11 @@ pub(crate) async fn intercept_keys<R: Runtime>(
|
|||
) -> Result<()> {
|
||||
app.native_bridge().intercept_keys(payload)
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn lock_screen_orientation<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
payload: LockScreenOrientationRequest,
|
||||
) -> Result<()> {
|
||||
app.native_bridge().lock_screen_orientation(payload)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue