diff --git a/package.json b/package.json
index ad4e29c57a..44c6f65ee0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mapcomplete",
- "version": "0.42.5",
+ "version": "0.42.6",
"repository": "https://github.com/pietervdvn/MapComplete",
"description": "A small website to edit OSM easily",
"bugs": "https://github.com/pietervdvn/MapComplete/issues",
diff --git a/src/UI/BigComponents/PrivacyPolicy.svelte b/src/UI/BigComponents/PrivacyPolicy.svelte
index 46387e48e8..f9ac1734e4 100644
--- a/src/UI/BigComponents/PrivacyPolicy.svelte
+++ b/src/UI/BigComponents/PrivacyPolicy.svelte
@@ -9,6 +9,7 @@
export let state: SpecialVisualizationState
const usersettings = UserRelatedState.usersettingsConfig
const editPrivacy = usersettings.tagRenderings.find(tr => tr.id === "more_privacy")
+ const isLoggedIn = state.osmConnection.isLoggedIn
@@ -44,10 +45,9 @@
+
-
-
-
+ {#if $isLoggedIn}
+ {:else}
+
+ {/if}
diff --git a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte
index 613e3da296..2ae587c757 100644
--- a/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte
+++ b/src/UI/Popup/TagRendering/TagRenderingQuestion.svelte
@@ -205,7 +205,7 @@
checkedMappings,
tags.data
)
- if (state.featureSwitches.featureSwitchIsDebugging.data) {
+ if (featureSwitchIsDebugging?.data) {
console.log("Constructing change spec from", {
freeform: $freeformInput,
selectedMapping,
diff --git a/src/UI/PrivacyGui.svelte b/src/UI/PrivacyGui.svelte
index e9b455ca1b..1afdef92dc 100644
--- a/src/UI/PrivacyGui.svelte
+++ b/src/UI/PrivacyGui.svelte
@@ -6,6 +6,15 @@
import { Utils } from "../Utils"
import Add from "../assets/svg/Add.svelte"
import LanguagePicker from "./InputElement/LanguagePicker.svelte"
+ import type { SpecialVisualizationState } from "./SpecialVisualization"
+ import { OsmConnection } from "../Logic/Osm/OsmConnection"
+ import UserRelatedState from "../Logic/State/UserRelatedState"
+
+ const osmConnection = new OsmConnection()
+ let state: SpecialVisualizationState = {
+ osmConnection,
+ userRelatedState: new UserRelatedState(osmConnection)
+ }
@@ -17,7 +26,7 @@