mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Fix ISE in media gallery.
This commit is contained in:
@@ -241,7 +241,7 @@ class MediaGalleryFragment : Fragment(R.layout.v2_media_gallery_fragment) {
|
||||
}
|
||||
|
||||
private fun selectMorePhotos() {
|
||||
Permissions.with(requireParentFragment())
|
||||
Permissions.with(this)
|
||||
.request(*PermissionCompat.forImagesAndVideos())
|
||||
.onAnyResult { refreshMediaGallery() }
|
||||
.execute()
|
||||
|
||||
Reference in New Issue
Block a user