From c8055e40bb0d428d2c4bbef5bc0ba254a90f40c6 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Fri, 23 Apr 2021 14:57:38 -0700 Subject: [PATCH] fix: Content appearing behind status bar in iOS PWA on some models of phone :shrug: --- app/components/PageTheme.js | 11 ----------- server/static/index.html | 1 - 2 files changed, 12 deletions(-) diff --git a/app/components/PageTheme.js b/app/components/PageTheme.js index 3b3fa9a9..f0f47ebf 100644 --- a/app/components/PageTheme.js +++ b/app/components/PageTheme.js @@ -19,17 +19,6 @@ export default function PageTheme() { themeElement.setAttribute("content", theme.background); } - // status bar color for iOS PWA - const statusElement = document.querySelector( - 'meta[name="apple-mobile-web-app-status-bar-style"]' - ); - if (statusElement) { - statusElement.setAttribute( - "content", - ui.resolvedTheme === "dark" ? "black-translucent" : "default" - ); - } - // user-agent controls and scrollbars const csElement = document.querySelector('meta[name="color-scheme"]'); if (csElement) { diff --git a/server/static/index.html b/server/static/index.html index 7c4e7be4..d3fb9d15 100644 --- a/server/static/index.html +++ b/server/static/index.html @@ -7,7 +7,6 @@ - //inject-prefetch//