Skip to content

Commit

Permalink
Fix signature of function callback.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon-T committed Dec 2, 2020
1 parent 05642aa commit 445b0d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/browser/api/bookmarks/brave_bookmarks_api.mm
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ - (IOSBookmarkNode*)parent {

- (NSArray<BookmarkFolder*>*)nestedChildFolders {
// Returns a list of ALL nested folders
return [self nestedChildFoldersFiltered:^{ return true; }];
return [self nestedChildFoldersFiltered:^BOOL(BookmarkFolder*){ return true; }];
}

- (NSUInteger)childCount {
Expand Down

0 comments on commit 445b0d2

Please sign in to comment.