forked from MapComplete/MapComplete
Android: get polyfills for geolocation working, some steps for logging in
This commit is contained in:
parent
76e9381650
commit
14e5f1efb3
5 changed files with 52 additions and 28 deletions
|
@ -52,6 +52,7 @@
|
|||
import PanoramaxLink from "./PanoramaxLink.svelte"
|
||||
import { UIEventSource } from "../../Logic/UIEventSource"
|
||||
import MagnifyingGlassCircle from "@babeard/svelte-heroicons/mini/MagnifyingGlassCircle"
|
||||
import { AndroidPolyfill } from "../../Logic/Web/AndroidPolyfill"
|
||||
|
||||
export let state: ThemeViewState
|
||||
let userdetails = state.osmConnection.userDetails
|
||||
|
@ -78,6 +79,7 @@
|
|||
})
|
||||
}
|
||||
})
|
||||
let isAndroid = AndroidPolyfill.inAndroid
|
||||
</script>
|
||||
|
||||
<div
|
||||
|
@ -255,7 +257,8 @@
|
|||
</If>
|
||||
|
||||
<a class="sidebar-button flex" href="geo:{$location.lat},{$location.lon}">
|
||||
<ShareIcon /><Tr t={t.openHereDifferentApp} />
|
||||
<ShareIcon />
|
||||
<Tr t={t.openHereDifferentApp} />
|
||||
</a>
|
||||
</SidebarUnit>
|
||||
|
||||
|
@ -343,6 +346,9 @@
|
|||
|
||||
<div class="subtle self-end">
|
||||
{Constants.vNumber}
|
||||
{#if $isAndroid}
|
||||
Android
|
||||
{/if}
|
||||
</div>
|
||||
</SidebarUnit>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue