Skip to content

Commit

Permalink
Merge pull request #28319 from bernhardoj/fix/27396-regression
Browse files Browse the repository at this point in the history
Fix crash when open currency selector page
  • Loading branch information
MonilBhavsar authored Sep 28, 2023
2 parents 7ada99f + b60cc73 commit 618fe7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/OptionRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class OptionRow extends Component {
accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}
hoverDimmingValue={1}
hoverStyle={this.props.hoverStyle}
needsOffscreenAlphaCompositing={this.props.option.icons.length >= 2}
needsOffscreenAlphaCompositing={lodashGet(this.props.option, 'icons.length', 0) >= 2}
>
<View style={sidebarInnerRowStyle}>
<View style={[styles.flexRow, styles.alignItemsCenter]}>
Expand Down

0 comments on commit 618fe7b

Please sign in to comment.