File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 77 type AccessibilityActionEvent ,
88 type AccessibilityActionInfo ,
99 TouchableOpacity ,
10+ TouchableHighlight ,
1011 type TouchableWithoutFeedbackProps
1112} from 'react-native' ;
12- import { TouchableNativeFeedback } from 'react-native-gesture-handler' ;
1313
1414import { useTheme } from '../../theme' ;
1515import { isIOS } from '../../lib/methods/helpers' ;
@@ -27,7 +27,7 @@ export interface ITouchProps extends TouchableWithoutFeedbackProps {
2727 android_rippleColor ?: string ;
2828}
2929
30- const Component = isIOS ? TouchableOpacity : TouchableNativeFeedback ;
30+ const Component = isIOS ? TouchableOpacity : TouchableHighlight ;
3131
3232const Touch = React . forwardRef < View , ITouchProps > (
3333 (
@@ -80,7 +80,7 @@ const Touch = React.forwardRef<View, ITouchProps>(
8080 } ;
8181 const touchableProps = isIOS
8282 ? { }
83- : { background : TouchableNativeFeedback . Ripple ( android_rippleColor ?? colors . surfaceNeutral , false ) , useForeground : false } ;
83+ : { underlayColor : android_rippleColor ?? colors . surfaceNeutral , activeOpacity : 1 } ;
8484
8585 return (
8686 < Component
You can’t perform that action at this time.
0 commit comments