Skip to content

Commit

Permalink
Fix slow loading assets library
Browse files Browse the repository at this point in the history
  • Loading branch information
rivera-ernesto committed Feb 9, 2015
1 parent 49cd620 commit 84c3353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Assets/NBUAssetsLibrary.m
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ - (BOOL)restrictedAccess

- (void)directoryGroupsWithResultBlock:(NBUAssetsGroupsResultBlock)resultBlock
{
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^
dispatch_async(dispatch_get_main_queue(), ^
{
NSMutableArray * groups = [NSMutableArray array];
id name;
Expand Down

0 comments on commit 84c3353

Please sign in to comment.