File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -378,17 +378,13 @@ export default function Pressable(props: PressableProps) {
378378 ? children ( { pressed : pressedState } )
379379 : children ;
380380
381- const defaultRippleColor = useMemo (
382- ( ) => ( android_ripple ? undefined : 'transparent' ) ,
383- [ android_ripple ]
384- ) ;
385-
386381 const rippleColor = useMemo ( ( ) => {
382+ const defaultRippleColor = android_ripple ? undefined : 'transparent' ;
387383 const unprocessedRippleColor = android_ripple ?. color ?? defaultRippleColor ;
388384 return isFabric ( )
389385 ? unprocessedRippleColor
390386 : processColor ( unprocessedRippleColor ) ;
391- } , [ android_ripple ?. color , defaultRippleColor ] ) ;
387+ } , [ android_ripple ] ) ;
392388
393389 return (
394390 < GestureDetector gesture = { gesture } >
You can’t perform that action at this time.
0 commit comments