treat clicking on the SDK 30 dialog image as OK
This commit is contained in:
parent
71c0ce6a86
commit
a55a0cb15d
1 changed files with 4 additions and 0 deletions
|
@ -37,6 +37,10 @@ class WritePermissionDialog(activity: Activity, val mode: Mode, val callback: ()
|
|||
Mode.SDK_30 -> {
|
||||
view.write_permissions_dialog_otg_text.setText(R.string.confirm_storage_access_android_text)
|
||||
glide.load(R.drawable.img_write_storage_sdk_30).transition(crossFade).into(view.write_permissions_dialog_otg_image)
|
||||
|
||||
view.write_permissions_dialog_otg_image.setOnClickListener {
|
||||
dialogConfirmed()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue