fix: image saving on api > Q
This commit is contained in:
parent
82922b9792
commit
21b9d51a35
1 changed files with 1 additions and 0 deletions
|
@ -677,6 +677,7 @@ fun savePrefs(
|
|||
}
|
||||
|
||||
fun downloadsPermission(activity: AppCompatActivity): Boolean {
|
||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.Q) return true
|
||||
val permissions = arrayOf(
|
||||
Manifest.permission.WRITE_EXTERNAL_STORAGE,
|
||||
Manifest.permission.READ_EXTERNAL_STORAGE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue