added share to tile
This commit is contained in:
parent
edc95f42cb
commit
bd61d2fb3e
4 changed files with 37 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
|||
/* global AUTH_CONFIG */
|
||||
/* global AUTH_CONFIG LOCALE */
|
||||
import { browserName } from './utils';
|
||||
|
||||
async function checkCrypto() {
|
||||
|
@ -90,7 +90,8 @@ export default async function getCapabilities() {
|
|||
} catch (e) {
|
||||
account = false;
|
||||
}
|
||||
const share = !!navigator.share;
|
||||
const share =
|
||||
typeof navigator.share === 'function' && LOCALE.startsWith('en'); // en until strings merge
|
||||
|
||||
return {
|
||||
account,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue