Skip to content

Commit

Permalink
fix(ios): rename setScrollEnabled to setScrollEnabledImperatively on …
Browse files Browse the repository at this point in the history
…old arch (#761)
  • Loading branch information
okwasniewski authored Aug 29, 2023
1 parent b962980 commit a03e44e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/ReactViewPagerManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ - (void) changeScrollEnabled
[self goToPage:reactTag index:index animated:false];
}

RCT_EXPORT_METHOD(setScrollEnabled
RCT_EXPORT_METHOD(setScrollEnabledImperatively
: (nonnull NSNumber *)reactTag enabled
: (nonnull NSNumber *)enabled) {
BOOL isEnabled = [enabled boolValue];
Expand Down

0 comments on commit a03e44e

Please sign in to comment.