mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-21 02:05:24 +01:00
fix #1016, allow selecting multiple items at third party intents, when appropriate
This commit is contained in:
parent
6eb2f60a55
commit
11b04aed43
@ -81,7 +81,7 @@ class MediaAdapter(activity: BaseSimpleActivity, var media: MutableList<Thumbnai
|
||||
visibleItemPaths.add(tmbItem.path)
|
||||
}
|
||||
|
||||
val allowLongPress = !allowMultiplePicks && tmbItem is Medium
|
||||
val allowLongPress = (!isAGetIntent || allowMultiplePicks) && tmbItem is Medium
|
||||
holder.bindView(tmbItem, tmbItem is Medium, allowLongPress) { itemView, adapterPosition ->
|
||||
if (tmbItem is Medium) {
|
||||
setupThumbnail(itemView, tmbItem)
|
||||
|
Loading…
Reference in New Issue
Block a user