Skip to content

Commit

Permalink
fix(ios): text should not be available for view cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ozonelmy authored and zoomchan-cxj committed Nov 24, 2021
1 parent 2c3d378 commit 10fdadb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/sdk/component/text/HippyText.mm
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ - (void)removeHippySubview:(UIView *)subview {
}
}

- (BOOL)canBeRetrievedFromViewCache {
return NO;
}

- (void)hippySetInheritedBackgroundColor:(__unused UIColor *)inheritedBackgroundColor {
// mttrn:
// UIColor *backgroundColor = [self rightBackgroundColorOfTheme];
Expand Down

0 comments on commit 10fdadb

Please sign in to comment.