Skip to content

Commit 84c3353

Browse files
Fix slow loading assets library
1 parent 49cd620 commit 84c3353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Assets/NBUAssetsLibrary.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ - (BOOL)restrictedAccess
124124

125125
- (void)directoryGroupsWithResultBlock:(NBUAssetsGroupsResultBlock)resultBlock
126126
{
127-
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^
127+
dispatch_async(dispatch_get_main_queue(), ^
128128
{
129129
NSMutableArray * groups = [NSMutableArray array];
130130
id name;

0 commit comments

Comments
 (0)