Skip to content

Commit

Permalink
Clean up RCTParagraphComponentView & RCTParagraphTextView (#46125)
Browse files Browse the repository at this point in the history
Summary:
Clean up some dead code after some refactoring of RCTParagraphComponentView.  cc cipolleschi

## Changelog:

[IOS] [FIXED] - Clean up RCTParagraphComponentView & RCTParagraphTextView

Pull Request resolved: #46125

Test Plan: CI green.

Reviewed By: christophpurrer

Differential Revision: D61603193

Pulled By: cipolleschi

fbshipit-source-id: a357e8c5355707b2296462de513010acda4ee6ea
  • Loading branch information
zhongwuzw authored and facebook-github-bot committed Aug 21, 2024
1 parent b93c2b2 commit 9239ad1
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ - (instancetype)initWithFrame:(CGRect)frame
_props = ParagraphShadowNode::defaultSharedProps();

self.opaque = NO;
self.contentMode = UIViewContentModeRedraw;
_textView = [RCTParagraphTextView new];
_textView.backgroundColor = UIColor.clearColor;
self.contentView = _textView;
Expand Down Expand Up @@ -324,8 +323,6 @@ - (void)copy:(id)sender
}

@implementation RCTParagraphTextView {
RCTParagraphComponentAccessibilityProvider *_accessibilityProvider;
UILongPressGestureRecognizer *_longPressGestureRecognizer;
CAShapeLayer *_highlightLayer;
}

Expand Down

0 comments on commit 9239ad1

Please sign in to comment.