diff --git a/squarenotsquare/src/components/ScrollingPicker.js b/squarenotsquare/src/components/ScrollingPicker.js index 9a929ad..95e20eb 100644 --- a/squarenotsquare/src/components/ScrollingPicker.js +++ b/squarenotsquare/src/components/ScrollingPicker.js @@ -8,11 +8,10 @@ import Icons from '../themes/Icons'; import Colors from "../themes/Colors"; import Metrics from "../themes/Metrics"; import { styles } from "../screens/styles/AppStyles"; -import finalPropsSelectorFactory from "react-redux/es/connect/selectorFactory"; +import Fade from "./Fade"; function ScrollingPicker(props) { const scrollX = useRef(new Animated.Value(0)).current; - const [selected, setSelected] = useState(0); function onScroll(event){ if (event.nativeEvent.contentOffset.x === 0) { @@ -40,18 +39,22 @@ function ScrollingPicker(props) { onScroll={onScroll} scrollEventThrottle={0} > - - + + + + + + ); } diff --git a/squarenotsquare/src/screens/Home.js b/squarenotsquare/src/screens/Home.js index ce905eb..d9835e0 100644 --- a/squarenotsquare/src/screens/Home.js +++ b/squarenotsquare/src/screens/Home.js @@ -51,7 +51,7 @@ function Home(){ - + {mode === 0 ? 'Squares' : 'Addition'}