Commit 0acd8fcd authored by wanglei's avatar wanglei

...

parent 52a1b9b5
......@@ -84,7 +84,9 @@ class FileScanResultActivity : BaseActivity<ActivityFileScanResultBinding>() {
if (checkStorePermission()) {
beginScan()
} else {
showGerPermission(null, deny = { finishToMain() }) {
showGerPermission(
desc = "In order to scan and recover your lost photos, videos, and documents, we need to access your device storage. This permission is essential for our app to locate and restore your files.",
deny = { finishToMain() }) {
requestStorePermission(launcher, result = {
if (it) beginScan() else finishToMain()
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment