mirror of
https://github.com/readest/readest.git
synced 2026-04-29 03:50:52 +00:00
feat(android): support custom data location on external sdcard (#2292)
Some checks are pending
Deploy to vercel on merge / build_and_deploy (push) Waiting to run
Some checks are pending
Deploy to vercel on merge / build_and_deploy (push) Waiting to run
This commit is contained in:
parent
34a5e58872
commit
50d7f9a9dd
13 changed files with 131 additions and 9 deletions
|
|
@ -142,6 +142,13 @@ pub(crate) async fn set_screen_brightness<R: Runtime>(
|
|||
app.native_bridge().set_screen_brightness(payload)
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn get_external_sdcard_path<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
) -> Result<GetExternalSDCardPathResponse> {
|
||||
app.native_bridge().get_external_sdcard_path()
|
||||
}
|
||||
|
||||
#[command]
|
||||
pub(crate) async fn request_manage_storage_permission<R: Runtime>(
|
||||
app: AppHandle<R>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue