From f70fb54e36d18ffad2cf54e995c23cab9f6c27bd Mon Sep 17 00:00:00 2001 From: MisakaKumomi <447f.misaka@outlook.com> Date: Fri, 14 Jan 2022 11:11:15 +0800 Subject: [PATCH 1/2] fix: expo compatibility --- src/SpringScrollViewNative.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/SpringScrollViewNative.js b/src/SpringScrollViewNative.js index b81cd8c..40359fd 100644 --- a/src/SpringScrollViewNative.js +++ b/src/SpringScrollViewNative.js @@ -17,13 +17,12 @@ import React from "react"; import { Animated, Platform, requireNativeComponent, View } from "react-native"; -const SpringScrollViewNative = Animated.createAnimatedComponent( - requireNativeComponent("SpringScrollView") -); - export class SpringScrollViewNativeAdapter extends React.Component { _scrollViewRef; render() { + const SpringScrollViewNative = Animated.createAnimatedComponent( + requireNativeComponent("SpringScrollView") + ); return ( Date: Fri, 14 Jan 2022 11:14:52 +0800 Subject: [PATCH 2/2] feat: expo compatibility --- src/Customize/res/{arrow@2x.png => arrow.png} | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename src/Customize/res/{arrow@2x.png => arrow.png} (100%) diff --git a/src/Customize/res/arrow@2x.png b/src/Customize/res/arrow.png similarity index 100% rename from src/Customize/res/arrow@2x.png rename to src/Customize/res/arrow.png