Skip to content

Commit

Permalink
chore: clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhom committed Sep 24, 2020
1 parent 7e14c2b commit 8e62141
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/bottomSheet/BottomSheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const interpolate = interpolateV2 || interpolateV1;
type BottomSheet = BottomSheetMethods;

Animated.addWhitelistedUIProps({
maxDeltaY: true,
decelerationRate: true,
});

const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
Expand Down
5 changes: 0 additions & 5 deletions src/components/scrollView/ScrollView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ const AnimatedScrollView = Animated.createAnimatedComponent(
any
>;

Animated.addWhitelistedUIProps({
disableIntervalMomentum: true,
decelerationRate: true,
});

const BottomSheetScrollViewComponent = forwardRef(
(props: BottomSheetScrollViewProps, ref: Ref<RNScrollView>) => {
// props
Expand Down

0 comments on commit 8e62141

Please sign in to comment.