Skip to content
Merged
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions app/containers/Touchable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,9 @@ const Touchable = React.forwardRef<View, ITouchProps>(
marginStart,
marginTop
};
const androidProps = isIOS
const touchableProps = isIOS
? {}
: { background: TouchableNativeFeedback.Ripple(android_rippleColor ?? colors.surfaceNeutral, false) };
const touchableProps = isIOS ? { activeOpacity: 1 } : {};

return (
<Component
Expand All @@ -90,7 +89,6 @@ const Touchable = React.forwardRef<View, ITouchProps>(
style={[rectButtonStyle, marginStyles, { backgroundColor, borderRadius }]}
disabled={!enabled}
{...touchableProps}
{...androidProps}
{...props}>
<View
accessible={accessible}
Expand Down
Loading