From cdf0c81c205cab272e00fd9480b36eaad5fb003f Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Mon, 17 Apr 2023 19:53:55 -0400 Subject: [PATCH] Start work on sharing --- web-frontend/src/routes/app/CoordinateInfo.svelte | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/web-frontend/src/routes/app/CoordinateInfo.svelte b/web-frontend/src/routes/app/CoordinateInfo.svelte index 7a37839..ad40870 100644 --- a/web-frontend/src/routes/app/CoordinateInfo.svelte +++ b/web-frontend/src/routes/app/CoordinateInfo.svelte @@ -15,6 +15,20 @@ 'osmand_direct' ]; + // const shareClicked = (url) => { + // if (navigator.share) { + // await navigator + // .share({ + // title: 'WebShare API Demo', + // url: url + // }) + // .then(() => { + // console.log('Thanks for sharing!'); + // }) + // .catch(console.error); + // } + // }; + onMount(() => { // TODO: Indicate that the data is copied console.log('Got xpin: ', xpin);