diff --git a/src/UI/BigComponents/ThemeIntroPanel.svelte b/src/UI/BigComponents/ThemeIntroPanel.svelte index 1957eb346..20febf429 100644 --- a/src/UI/BigComponents/ThemeIntroPanel.svelte +++ b/src/UI/BigComponents/ThemeIntroPanel.svelte @@ -12,11 +12,9 @@ import { GeoLocationState } from "../../Logic/State/GeoLocationState" import If from "../Base/If.svelte" import { ExclamationTriangleIcon } from "@babeard/svelte-heroicons/mini" - import type { Readable } from "svelte/store" import Add from "../../assets/svg/Add.svelte" import Location_refused from "../../assets/svg/Location_refused.svelte" - import Crosshair from "../../assets/svg/Crosshair.svelte" - import FromHtml from "../Base/FromHtml.svelte" + import Location from "../../assets/svg/Location.svelte" /** * The theme introduction panel @@ -32,8 +30,6 @@ state.geolocation.geolocationState.permission let currentGPSLocation = state.geolocation.geolocationState.currentGPSLocation - geopermission.addCallback((perm) => console.log(">>>> Permission", perm)) - function jumpToCurrentLocation() { const glstate = state.geolocation.geolocationState if (glstate.currentGPSLocation.data !== undefined) { @@ -58,8 +54,8 @@ {/if} - - + + state.guistate.themeIsOpened.setData(false)}>
@@ -71,7 +67,7 @@ {#if $currentGPSLocation !== undefined || $geopermission === "prompt"} @@ -81,7 +77,7 @@ on:click={jumpToCurrentLocation} > - @@ -94,7 +90,7 @@ {:else}