Media Picker: Allow multi selection of pictures #301

Manage the selection of one file
This commit is contained in:
manuroe
2016-08-09 18:52:46 +02:00
parent 80c632dd28
commit f03c9d2746
@@ -313,7 +313,14 @@
- (void)onSelectionSend:(id)sender
{
[self.delegate mediaAlbumContentViewController:self didSelectAssets:selectedAssets];
if (selectedAssets.count > 1)
{
[self.delegate mediaAlbumContentViewController:self didSelectAssets:selectedAssets];
}
else
{
[self.delegate mediaAlbumContentViewController:self didSelectAsset:selectedAssets[0]];
}
}
- (void)onSelectionCancel:(id)sender