Fix: share button

This commit is contained in:
Pieter Vander Vennet 2023-05-24 00:07:56 +02:00
parent cbc4e6eb15
commit 84cbd2fbc0
3 changed files with 4 additions and 8 deletions

View file

@ -259,7 +259,7 @@ export default class UserRelatedState {
_theme: layout?.id,
_backend: this.osmConnection.Backend(),
_applicationOpened: new Date().toISOString(),
_supports_sharing: "yes" // TODO window.navigator.share ? "yes" : "no"
_supports_sharing: window.navigator.share ? "yes" : "no"
})
for (const key in Constants.userJourney) {