Skip to content

Commit 8035fae

Browse files
committed
remove TapGestureHandler imports
1 parent aa8b154 commit 8035fae

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import {
1010
} from "react-native";
1111
import {
1212
PanGestureHandler,
13-
TapGestureHandler,
1413
State as GestureState,
1514
FlatList,
1615
GestureHandlerGestureEventNativeEvent,
@@ -147,15 +146,13 @@ class DraggableFlatList<T> extends React.Component<Props<T>, State> {
147146
containerRef = React.createRef<Animated.View>();
148147
flatlistRef = React.createRef<AnimatedFlatListType<T>>();
149148
panGestureHandlerRef = React.createRef<PanGestureHandler>();
150-
tapGestureHandlerRef = React.createRef<TapGestureHandler>();
151149

152150
containerSize = new Value<number>(0);
153151

154152
activationDistance = new Value<number>(0);
155153
touchAbsolute = new Value<number>(0);
156154
touchCellOffset = new Value<number>(0);
157155
panGestureState = new Value(GestureState.UNDETERMINED);
158-
tapGestureState = new Value(GestureState.UNDETERMINED);
159156

160157
isPressedIn = {
161158
native: new Value<number>(0),

0 commit comments

Comments
 (0)