/* eslint-disable react/style-prop-object */ import * as WebBrowser from 'expo-web-browser'; import * as React from 'react'; import { StatusBar } from 'expo-status-bar'; import { Div, Button, Image, Text, Avatar, Icon } from 'react-native-magnus'; import { Appbar } from 'react-native-paper'; import { ScrollView } from 'react-native-gesture-handler'; import { useCreation } from '@umijs/hooks'; import { useTranslation } from 'react-i18next'; import useModel from 'flooks'; import HomeModel from './Home/model'; import MapModel from '../Map/model'; import HomeAddressCom from '../Address/HomeAddressCom'; export default function AddressScreen({ navigation }) { const { locationInfo, getNowLocation, changeChooseInfo } = useModel( MapModel, ['locationInfo', 'getNowLocation'] ); const { t } = useTranslation(); const addressName = useCreation(() => { if (locationInfo) { return locationInfo.addressName; } else { return ''; } }, [locationInfo]); return ( <>
{t('dang-qian-ding-wei')}
); }