Experimenting with a share button...

This commit is contained in:
Pieter Vander Vennet 2020-11-22 03:16:56 +01:00
parent d953dd4aa6
commit e10f9b61e2
2 changed files with 40 additions and 2 deletions

View file

@ -196,8 +196,8 @@ export default class SpecialVisualizations {
}
],
constr: (tagSource: UIEventSource<any>, args) => {
if (navigator.share !== undefined) {
return new FixedUiElement("").onClick(() => {
if (navigator.share) {
return new FixedUiElement("Share").onClick(() => {
let name = tagSource["name"]
let title= State.state.layoutToUse.data.title.txt