[FIX] RoomItem using deprecated animated event signature (#2771)
This commit is contained in:
parent
5aaabcc324
commit
5d2050b8af
|
@ -48,7 +48,7 @@ class Touchable extends React.Component {
|
||||||
rowState: 0 // 0: closed, 1: right opened, -1: left opened
|
rowState: 0 // 0: closed, 1: right opened, -1: left opened
|
||||||
};
|
};
|
||||||
this._onGestureEvent = Animated.event(
|
this._onGestureEvent = Animated.event(
|
||||||
[{ nativeEvent: { translationX: this.dragX } }]
|
[{ nativeEvent: { translationX: this.dragX } }], { useNativeDriver: true }
|
||||||
);
|
);
|
||||||
this._value = 0;
|
this._value = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue