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() {
|
||||
const caps = Discourse.__container__.lookup("capabilities:main");
|
||||
return (
|
||||
window.matchMedia("(display-mode: standalone)").matches &&
|
||||
caps.isIOS
|
||||
);
|
||||
return window.matchMedia("(display-mode: standalone)").matches && caps.isIOS;
|
||||
}
|
||||
|
||||
export function isAppWebview() {
|
||||
|
|
Loading…
Reference in New Issue