${state.translate('notifyUploadEncryptDone')}
Share the link to your file:
${name}
`;
async function share(event) {
event.stopPropagation();
try {
await navigator.share({
title: state.translate('-send-brand'),
text: `Download ${name} with Firefox Send: simple, safe file sharing`,
//state.translate('shareMessage', { name }),
url
});
} catch (e) {
console.error(e);
}
setTimeout(close, 1000);
}
};
};