diff --git a/src/app.jsx b/src/app.jsx index 3e4a6879..e6136715 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -204,7 +204,16 @@ if (isIOS) { ); const color = $meta?.getAttribute('content'); if (color) { - $meta.content = ''; + let tempColor; + if (/^#/.test(color)) { + // Assume either #RBG or #RRGGBB + if (color.length === 4) { + tempColor = color + 'f'; + } else if (color.length === 7) { + tempColor = color + 'ff'; + } + } + $meta.content = tempColor || ''; setTimeout(() => { $meta.content = color; }, 10);