diff --git a/src/Logic/DetermineTheme.ts b/src/Logic/DetermineTheme.ts
index 4d4c1bb295..7d7ca80a67 100644
--- a/src/Logic/DetermineTheme.ts
+++ b/src/Logic/DetermineTheme.ts
@@ -152,9 +152,6 @@ export default class DetermineTheme {
json = {
id: json.id,
description: json.description,
- descriptionTail: {
- en: "
Layer only mode.
The loaded custom theme actually isn't a custom theme, but only contains a layer.",
- },
icon,
title: json.name,
layers: [json],
diff --git a/src/Models/ThemeConfig/ThemeConfig.ts b/src/Models/ThemeConfig/ThemeConfig.ts
index 2d7f4eed61..7db9787a79 100644
--- a/src/Models/ThemeConfig/ThemeConfig.ts
+++ b/src/Models/ThemeConfig/ThemeConfig.ts
@@ -90,7 +90,7 @@ export default class ThemeConfig implements ThemeInformation {
public readonly definitionRaw?: string
private readonly layersDict: Map
- private readonly source: ThemeConfigJson
+ public readonly source: ThemeConfigJson
public readonly enableCache: boolean
constructor(
diff --git a/src/UI/BigComponents/ThemeIntroPanel.svelte b/src/UI/BigComponents/ThemeIntroPanel.svelte
index 0c354be17f..bc6af229ef 100644
--- a/src/UI/BigComponents/ThemeIntroPanel.svelte
+++ b/src/UI/BigComponents/ThemeIntroPanel.svelte
@@ -9,12 +9,15 @@
import If from "../Base/If.svelte"
import { ExclamationTriangleIcon } from "@babeard/svelte-heroicons/mini"
import GeolocationIndicator from "./GeolocationIndicator.svelte"
+ import { DownloadIcon } from "@rgossiaux/svelte-heroicons/solid"
+ import { Utils } from "../../Utils"
+ import ThemeConfig from "../../Models/ThemeConfig/ThemeConfig"
/**
* The theme introduction panel
*/
export let state: ThemeViewState
- let theme = state.theme
+ let theme: ThemeConfig = state.theme
let geolocation = state.geolocation.geolocationState
let geopermission: Store = geolocation.permission
@@ -52,7 +55,14 @@
+ {#if !theme.official}
+
+
+
+ {/if}
+