diff --git a/src/components/LocationPicker/CrosshairCircle.js b/src/components/LocationPicker/CrosshairCircle.js index 959d17bc4..bee6df471 100644 --- a/src/components/LocationPicker/CrosshairCircle.js +++ b/src/components/LocationPicker/CrosshairCircle.js @@ -7,18 +7,19 @@ import type { Node } from "react"; import React from "react"; import { useTheme } from "react-native-paper"; +import WarningText from "./WarningText"; + type Props = { accuracyTest: string, - containerStyle: Object + getShadow: Function }; -const CrosshairCircle = ( { accuracyTest, containerStyle }: Props ): Node => { +const CrosshairCircle = ( { accuracyTest, getShadow }: Props ): Node => { const theme = useTheme( ); return ( { /> )} + + + ); }; diff --git a/src/components/LocationPicker/Footer.js b/src/components/LocationPicker/Footer.js index e66cd3e9d..3d6228871 100644 --- a/src/components/LocationPicker/Footer.js +++ b/src/components/LocationPicker/Footer.js @@ -1,14 +1,11 @@ // @flow import { useNavigation } from "@react-navigation/native"; -import { - Button, StickyToolbar -} from "components/SharedComponents"; +import { Button } from "components/SharedComponents"; +import { View } from "components/styledComponents"; import { ObsEditContext } from "providers/contexts"; import type { Node } from "react"; -import React, { - useContext -} from "react"; +import React, { useContext } from "react"; import useTranslation from "sharedHooks/useTranslation"; type Props = { @@ -24,9 +21,9 @@ const Footer = ( { keysToUpdate, goBackOnSave }: Props ): Node => { } = useContext( ObsEditContext ); return ( - +