Skip to content

Commit

Permalink
Use reactSubviews instead of subviews
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Dec 6, 2023
1 parent a4cbab3 commit 56983e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/MarkdownTextInputViewManager.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ @interface MarkdownTextInputView : UIView
@implementation MarkdownTextInputView

- (void)didMoveToWindow {
NSArray *viewsArray = self.superview.subviews;
NSArray *viewsArray = self.reactSuperview.reactSubviews;
NSUInteger currentIndex = [viewsArray indexOfObject:self];
if (currentIndex == 0 || currentIndex == NSNotFound) {
return;
Expand Down

0 comments on commit 56983e9

Please sign in to comment.