DEV: Fix lint error introduced in 58f16f2

This commit is contained in:
Rafael dos Santos Silva 2020-03-02 13:04:52 -03:00
parent 58f16f2e2b
commit fd38ed3631
No known key found for this signature in database
GPG Key ID: 5E50360227B34938
1 changed files with 1 additions and 4 deletions

View File

@ -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() {