diff --git a/components/Location.tsx b/components/Location.tsx index 2c30619..eeab7e3 100644 --- a/components/Location.tsx +++ b/components/Location.tsx @@ -7,6 +7,8 @@ import log from "@/util/log" export const API_URL = process.env.EXPO_PUBLIC_API_URL; +const BUTTON_WIDTH = 260; + const LocationComponent = () => { const theme = useTheme(); const [zip, setZip] = useState(""); @@ -53,18 +55,30 @@ const LocationComponent = () => { onPress={handleGetLocation} loading={locLoading} disabled={locLoading} - style={{ marginBottom: 12, width: 200 }} + style={{ marginBottom: 12, width: BUTTON_WIDTH }} > Use My Location OR - + { onPress={handleSubmit} loading={loading} disabled={!zip || loading} - style={{ width: "100%" }} + style={{ + flex: 2, + minWidth: 0, + height: 50, + }} + contentStyle={{ height: 50 }} > Submit