mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
improve gallery intent for certain apps
This commit is contained in:
parent
f6c7f3eed1
commit
3442ebc1c3
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ Bugfix 🐛:
|
|||
- Can't handle ongoing call events in background (#1992)
|
||||
- Crash / Attachment viewer: Cannot draw a recycled Bitmap #2034
|
||||
- Login with Matrix-Id | Autodiscovery fails if identity server is invalid and Homeserver ok (#2027)
|
||||
- Improve support for image selection with intent changes (#1376)
|
||||
|
||||
Translations 🗣:
|
||||
-
|
||||
|
|
|
@ -82,7 +82,7 @@ class ImagePicker(override val requestCode: Int) : Picker<MultiPickerImageType>(
|
|||
}
|
||||
|
||||
override fun createIntent(): Intent {
|
||||
return Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
|
||||
return Intent(Intent.ACTION_GET_CONTENT).apply {
|
||||
addCategory(Intent.CATEGORY_OPENABLE)
|
||||
putExtra(Intent.EXTRA_ALLOW_MULTIPLE, !single)
|
||||
type = "image/*"
|
||||
|
|
Loading…
Add table
Reference in a new issue