allow clicking the new permission dialog image too

This commit is contained in:
tibbi 2022-03-17 13:59:18 +01:00
parent 0ed7becb4d
commit 9daaa11480

View file

@ -46,6 +46,10 @@ class WritePermissionDialog(activity: Activity, val mode: Mode, val callback: ()
Mode.CREATE_DOCUMENT_SDK_30 -> {
view.write_permissions_dialog_otg_text.setText(R.string.confirm_create_doc_for_new_folder_text)
glide.load(R.drawable.img_write_storage_create_doc_sdk_30).transition(crossFade).into(view.write_permissions_dialog_otg_image)
view.write_permissions_dialog_otg_image.setOnClickListener {
dialogConfirmed()
}
}
}