Skip to content

Commit

Permalink
Merge pull request GeekyAnts#3552 from GeekyAnts/menu-ui
Browse files Browse the repository at this point in the history
fix: menu item ui on android
  • Loading branch information
theankurkedia authored Mar 17, 2021
2 parents d7fc4c2 + dee184f commit 19515bc
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/components/primitives/TouchableItem/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import React from 'react';
import styled from 'styled-components/native';
import {
Platform,
TouchableHighlight,
TouchableNativeFeedback,
} from 'react-native';
import { TouchableHighlight } from 'react-native';
import { border, color, flexbox, layout, space, position } from 'styled-system';
import {
customBorder,
Expand All @@ -17,11 +13,7 @@ import {
customTypography,
} from '../../../utils/customProps';

const TouchableItem = styled(
Platform.OS === 'android' && Platform.Version >= 21
? TouchableNativeFeedback
: TouchableHighlight
)<any>(
const TouchableItem = styled(TouchableHighlight)<any>(
color,
space,
layout,
Expand Down

0 comments on commit 19515bc

Please sign in to comment.