diff --git a/front/src/Components/Menu/GuestSubMenu.svelte b/front/src/Components/Menu/GuestSubMenu.svelte
index f24a3f90..fbbc48a4 100644
--- a/front/src/Components/Menu/GuestSubMenu.svelte
+++ b/front/src/Components/Menu/GuestSubMenu.svelte
@@ -28,7 +28,7 @@
}
}
- let canShare = navigator.canShare;
+ let canShare = navigator.share !== undefined;
async function shareLink() {
const shareData = { url: getLink() };
@@ -44,18 +44,18 @@
- {#if (!canShare) }
-
+ {#if !canShare}
+
{:else}
-
- {$LL.menu.invite.description()}
-
-
-
+
+ {$LL.menu.invite.description()}
+
+
+
{/if}
Select an entry point
@@ -79,7 +79,7 @@
updateInputFieldValue();
}}
/>
- Walk automatically to my position
+ {$LL.menu.invite.walk_automatically_to_position()}
@@ -132,8 +132,8 @@
}
@include media-breakpoint-up(lg) {
- div.guest-main {
- width: 100%;
- }
+ div.guest-main {
+ width: 100%;
+ }
}
diff --git a/front/src/i18n/de-DE/menu.ts b/front/src/i18n/de-DE/menu.ts
index 5fb7882d..5e695d95 100644
--- a/front/src/i18n/de-DE/menu.ts
+++ b/front/src/i18n/de-DE/menu.ts
@@ -70,6 +70,7 @@ const menu: NonNullable = {
description: "Link zu diesem Raum teilen!",
copy: "Kopieren",
share: "Teilen",
+ walk_automatically_to_position: "Walk automatically to my position",
},
globalMessage: {
text: "Text",
diff --git a/front/src/i18n/en-US/menu.ts b/front/src/i18n/en-US/menu.ts
index b7c69935..0883fb15 100644
--- a/front/src/i18n/en-US/menu.ts
+++ b/front/src/i18n/en-US/menu.ts
@@ -70,6 +70,7 @@ const menu: BaseTranslation = {
description: "Share the link of the room!",
copy: "Copy",
share: "Share",
+ walk_automatically_to_position: "Walk automatically to my position",
},
globalMessage: {
text: "Text",
diff --git a/front/src/i18n/fr-FR/menu.ts b/front/src/i18n/fr-FR/menu.ts
index 54481ec8..bf3ede7a 100644
--- a/front/src/i18n/fr-FR/menu.ts
+++ b/front/src/i18n/fr-FR/menu.ts
@@ -70,6 +70,7 @@ const menu: NonNullable = {
description: "Partager le lien de la salle!",
copy: "Copier",
share: "Partager",
+ walk_automatically_to_position: "Marcher automatiquement jusqu'à ma position",
},
globalMessage: {
text: "Texte",