mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
added share to tile
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user