forked from MapComplete/MapComplete
Feature: add 'download app' item into the menu drawer (if not on Android)
This commit is contained in:
parent
247507802c
commit
0a0d3dc8da
1 changed files with 6 additions and 9 deletions
|
@ -60,8 +60,6 @@
|
|||
import { GlobeEuropeAfrica } from "@babeard/svelte-heroicons/solid/GlobeEuropeAfrica"
|
||||
import { onDestroy } from "svelte"
|
||||
import { DevicePhoneMobileIcon } from "@babeard/svelte-heroicons/solid"
|
||||
import If from "../Base/If.svelte"
|
||||
import IfNot from "../Base/IfNot.svelte"
|
||||
|
||||
export let state: {
|
||||
favourites: FavouritesFeatureSource
|
||||
|
@ -232,13 +230,12 @@
|
|||
<Tr t={Translations.t.general.attribution.emailCreators} />
|
||||
</a>
|
||||
|
||||
<IfNot condition={AndroidPolyfill.inAndroid}>
|
||||
{#if !$isAndroid}
|
||||
<a href="https://app.mapcomplete.org">
|
||||
<DevicePhoneMobileIcon class="h-6 w-6"/>
|
||||
<Tr t={Translations.t.general.menu.downloadApp}/>
|
||||
</a>
|
||||
</IfNot>
|
||||
|
||||
{/if}
|
||||
<a class="flex" href="https://en.osm.town/@MapComplete" target="_blank">
|
||||
<Mastodon class="h-6 w-6" />
|
||||
<Tr t={Translations.t.general.attribution.followOnMastodon} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue