|
|
@@ -2,6 +2,7 @@
|
|
|
import * as WebBrowser from "expo-web-browser";
|
|
|
import * as React from "react";
|
|
|
import { WebView } from "react-native-webview";
|
|
|
+import { Toast, Portal } from "@ant-design/react-native";
|
|
|
import { useMount } from "ahooks";
|
|
|
import { useModel } from "flooks";
|
|
|
import { getLocation } from "../Utils/MapUtils";
|
|
|
@@ -11,6 +12,7 @@ export default function SearchMapScreen({ navigation }) {
|
|
|
const webRef = React.useRef();
|
|
|
const { showDialog } = useModel("dialogModel", true);
|
|
|
useMount(() => {
|
|
|
+ const key = Toast.loading("Loading...", 0);
|
|
|
getLocation().then(res => {
|
|
|
let location = "";
|
|
|
// saveLocation(
|