treat clicking on the SDK 30 dialog image as OK

This commit is contained in:
tibbi 2022-03-13 18:23:07 +01:00
parent 71c0ce6a86
commit a55a0cb15d

View file

@ -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()
}
}
}