Created
March 6, 2017 14:23
-
-
Save frosty/fb4166d943c90b3398f3e491f1a4657e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Pod/Classes/WPMediaPickerViewController.m b/Pod/Classes/WPMediaPickerViewController.m | |
index 0c90262..821b457 100644 | |
--- a/Pod/Classes/WPMediaPickerViewController.m | |
+++ b/Pod/Classes/WPMediaPickerViewController.m | |
@@ -659,11 +659,12 @@ - (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker | |
- (void)setGroup:(id<WPMediaGroup>)group { | |
if (group == [self.dataSource selectedGroup]){ | |
- [self dismissViewControllerAnimated:YES completion:nil]; | |
return; | |
} | |
+ | |
self.refreshGroupFirstTime = YES; | |
[self.dataSource setSelectedGroup:group]; | |
+ [self refreshData]; | |
} | |
#pragma mark - Long Press Handling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment