fix: tweak opacity animation for PlatformPressable

This commit is contained in:
Satyajit Sahoo
2021-06-01 03:17:16 +02:00
parent 7e71ee6c47
commit b46c433f1e

View File

@@ -53,7 +53,7 @@ export default function PlatformPressable({
};
const handlePressIn = (e: GestureResponderEvent) => {
animateTo(pressOpacity, 150);
animateTo(pressOpacity, 0);
onPressIn?.(e);
};