diff --git a/app/assets/javascripts/discourse/lib/utilities.js.es6 b/app/assets/javascripts/discourse/lib/utilities.js.es6 index 3f24485feae..8b210b47371 100644 --- a/app/assets/javascripts/discourse/lib/utilities.js.es6 +++ b/app/assets/javascripts/discourse/lib/utilities.js.es6 @@ -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() {