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