Feature: add 'download app' item into the menu drawer (if not on Android)

This commit is contained in:
Pieter Vander Vennet 2025-08-28 22:41:31 +02:00
parent 247507802c
commit 0a0d3dc8da

View file

@ -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} />