Skip to content

Commit db22af3

Browse files
committed
gotta have this
1 parent bb28f73 commit db22af3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Branch-SDK/Branch-SDK/BNCContentDiscoveryManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ - (void)indexContentWithUrl:(NSString *)url spotlightIdentifier:(NSString *)spot
478478
id defaultSearchableIndex = ((id (*)(id, SEL))[CSSearchableIndexClass methodForSelector:defaultSearchableIndexSelector])(CSSearchableIndexClass, defaultSearchableIndexSelector);
479479
SEL indexSearchableItemsSelector = NSSelectorFromString(@"indexSearchableItems:completionHandler:");
480480
void (^__nullable completionBlock)(NSError *indexError) = ^void(NSError *__nullable indexError) {
481-
if (callback) {
481+
if (callback || spotlightCallback) {
482482
if (indexError) {
483483
if (callback) {
484484
callback(nil, indexError);

0 commit comments

Comments
 (0)