Don't show "selected" badge unless in batch mode (per myles)

This commit is contained in:
Michael Kirk 2018-12-09 11:38:50 -05:00
parent ac7e2f76d6
commit 6a61d660b4
1 changed files with 2 additions and 0 deletions

View File

@ -476,6 +476,8 @@ class ImagePickerGridController: UICollectionViewController, PhotoLibraryDelegat
if isInBatchSelectMode {
updateDoneButton()
} else {
// Don't show "selected" badge unless we're in batch mode
collectionView.deselectItem(at: indexPath, animated: false)
complete(withAssets: [asset])
}
}