From d3438a52acb320e9b71ef86c9710d8758fc9852b Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Mon, 11 Mar 2019 10:43:32 -0700 Subject: [PATCH] try android share before navigator.share --- app/ui/archiveTile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js index d630b3f7..7ee5a83f 100644 --- a/app/ui/archiveTile.js +++ b/app/ui/archiveTile.js @@ -250,7 +250,9 @@ module.exports = function(state, emit, archive) { async function share(event) { event.stopPropagation(); - if (state.capabilities.share) { + if (platform() === 'android') { + Android.shareUrl(archive.url); + } else { try { await navigator.share({ title: state.translate('-send-brand'), @@ -263,8 +265,6 @@ module.exports = function(state, emit, archive) { } catch (e) { // ignore } - } else { - Android.shareUrl(archive.url); } } };