From 5d2050b8afc638819aa91ff0531fbfa7fc341788 Mon Sep 17 00:00:00 2001 From: Gerzon Z Date: Thu, 7 Jan 2021 10:50:09 -0400 Subject: [PATCH] [FIX] RoomItem using deprecated animated event signature (#2771) --- app/presentation/RoomItem/Touchable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/presentation/RoomItem/Touchable.js b/app/presentation/RoomItem/Touchable.js index 00f44b78..37b45639 100644 --- a/app/presentation/RoomItem/Touchable.js +++ b/app/presentation/RoomItem/Touchable.js @@ -48,7 +48,7 @@ class Touchable extends React.Component { rowState: 0 // 0: closed, 1: right opened, -1: left opened }; this._onGestureEvent = Animated.event( - [{ nativeEvent: { translationX: this.dragX } }] + [{ nativeEvent: { translationX: this.dragX } }], { useNativeDriver: true } ); this._value = 0; }