DEV: Fix lint error introduced in 58f16f2
This commit is contained in:
parent
58f16f2e2b
commit
fd38ed3631
|
@ -368,10 +368,7 @@ export function areCookiesEnabled() {
|
||||||
|
|
||||||
export function isiOSPWA() {
|
export function isiOSPWA() {
|
||||||
const caps = Discourse.__container__.lookup("capabilities:main");
|
const caps = Discourse.__container__.lookup("capabilities:main");
|
||||||
return (
|
return window.matchMedia("(display-mode: standalone)").matches && caps.isIOS;
|
||||||
window.matchMedia("(display-mode: standalone)").matches &&
|
|
||||||
caps.isIOS
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function isAppWebview() {
|
export function isAppWebview() {
|
||||||
|
|
Loading…
Reference in New Issue