Skip to content

Commit

Permalink
Jwoo/release/6.23 mobile (#8532)
Browse files Browse the repository at this point in the history
* updated compiler version

* updated typeof

* updated spec

* updated typeof
  • Loading branch information
jwoo-msft authored Jun 6, 2023
1 parent 1e11253 commit 86269d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ - (NSDictionary *)getRequestPayloadForTypeaheadSearchWithQueryText:(NSString *)q
- (void)debouncerDidSendOutput:(id)key
{
if ([key isKindOfClass:NSString.class]) {
__weak typeof(self) weakSelf = self;
__weak __typeof(self) weakSelf = self;
dispatch_async(_global_queue, ^{
__strong typeof(self) strongSelf = weakSelf;
__strong __typeof(self) strongSelf = weakSelf;
if ([strongSelf->_rootView.acrActionDelegate respondsToSelector:@selector(onChoiceSetQueryChange:acoElem:completion:)]) {
NSDictionary *requestPayload = [strongSelf getRequestPayloadForTypeaheadSearchWithQueryText:key withSkipValue:0 AndTopValue:15];
[strongSelf->_rootView.acrActionDelegate onChoiceSetQueryChange:requestPayload
Expand Down

0 comments on commit 86269d4

Please sign in to comment.