Showing 1 of 1 total issue
Consider simplifying this complex logical expression. Open
Open
if (Platform.OS === 'ios' && !Platform.isPad && !Platform.isTVOS) {
isIPhoneX =
(WIDTH === X_WIDTH && HEIGHT === X_HEIGHT) ||
(WIDTH === XS_MAX_WIDTH && HEIGHT === XS_MAX_HEIGHT);
}