mirror of
https://github.com/readest/readest.git
synced 2026-04-29 03:50:52 +00:00
parent
a424ae8b15
commit
4275508ccd
45 changed files with 692 additions and 174 deletions
|
|
@ -65,3 +65,11 @@ pub(crate) async fn get_sys_fonts_list<R: Runtime>(
|
|||
) -> Result<GetSysFontsListResponse> {
|
||||
app.native_bridge().get_sys_fonts_list()
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn intercept_keys<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
payload: InterceptKeysRequest,
|
||||
) -> Result<()> {
|
||||
app.native_bridge().intercept_keys(payload)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue