Merge pull request #1376 from dkanada/patch-1
Fix gallery intent for certain apps
This commit is contained in:
commit
2b90f1395f
|
@ -9,6 +9,7 @@ Improvements 🙌:
|
||||||
- Small optimisation of scrolling experience in timeline (#2114)
|
- Small optimisation of scrolling experience in timeline (#2114)
|
||||||
|
|
||||||
Bugfix 🐛:
|
Bugfix 🐛:
|
||||||
|
- Improve support for image selection with intent changes (#1376)
|
||||||
- Fix Splash layout on small screens
|
- Fix Splash layout on small screens
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
|
|
|
@ -82,7 +82,7 @@ class ImagePicker(override val requestCode: Int) : Picker<MultiPickerImageType>(
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun createIntent(): Intent {
|
override fun createIntent(): Intent {
|
||||||
return Intent(Intent.ACTION_OPEN_DOCUMENT).apply {
|
return Intent(Intent.ACTION_GET_CONTENT).apply {
|
||||||
addCategory(Intent.CATEGORY_OPENABLE)
|
addCategory(Intent.CATEGORY_OPENABLE)
|
||||||
putExtra(Intent.EXTRA_ALLOW_MULTIPLE, !single)
|
putExtra(Intent.EXTRA_ALLOW_MULTIPLE, !single)
|
||||||
type = "image/*"
|
type = "image/*"
|
||||||
|
|
Loading…
Reference in New Issue