mirror of
https://github.com/readest/readest.git
synced 2026-04-29 03:50:52 +00:00
This commit is contained in:
parent
0b01132d88
commit
5ee860f1e8
31 changed files with 282 additions and 64 deletions
|
|
@ -119,3 +119,10 @@ pub(crate) async fn get_system_color_scheme<R: Runtime>(
|
|||
) -> Result<GetSystemColorSchemeResponse> {
|
||||
app.native_bridge().get_system_color_scheme()
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn get_safe_area_insets<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
) -> Result<GetSafeAreaInsetsResponse> {
|
||||
app.native_bridge().get_safe_area_insets()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue