enable promo banner
This commit is contained in:
parent
44043b54b3
commit
d28da3247d
3 changed files with 17 additions and 3 deletions
|
@ -93,6 +93,10 @@ export default async function getCapabilities() {
|
|||
const share =
|
||||
typeof navigator.share === 'function' && LOCALE.startsWith('en'); // en until strings merge
|
||||
|
||||
const standalone =
|
||||
window.matchMedia('(display-mode: standalone)').matches ||
|
||||
navigator.standalone;
|
||||
|
||||
return {
|
||||
account,
|
||||
crypto,
|
||||
|
@ -101,6 +105,7 @@ export default async function getCapabilities() {
|
|||
streamDownload:
|
||||
nativeStreams && serviceWorker && browserName() !== 'safari',
|
||||
multifile: nativeStreams || polyStreams,
|
||||
share
|
||||
share,
|
||||
standalone
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue