Skip to content

Commit 48c68d5

Browse files
committed
fix: remove setScrollEnabledMethod
1 parent b8a24d3 commit 48c68d5

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ios/EnrichedTextInputView.mm

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ - (void)updateProps:(Props::Shared const &)props oldProps:(Props::Shared const &
358358
}
359359

360360
if(newViewProps.scrollEnabled != oldViewProps.scrollEnabled || textView.scrollEnabled != newViewProps.scrollEnabled) {
361-
[self setScrollEnabled: newViewProps.scrollEnabled];
361+
[textView setScrollEnabled: newViewProps.scrollEnabled];
362362
}
363363

364364
folly::dynamic oldMentionStyle = oldViewProps.htmlStyle.mention;
@@ -866,10 +866,6 @@ - (void)tryEmittingOnChangeHtmlEvent {
866866
}
867867
}
868868

869-
-(void)setScrollEnabled:(bool)scrollEnabled {
870-
[textView setScrollEnabled: scrollEnabled];
871-
}
872-
873869
// MARK: - Styles manipulation
874870

875871
- (void)toggleRegularStyle:(StyleType)type {

0 commit comments

Comments
 (0)