summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLASER-Yi <[email protected]>2021-08-22 13:35:43 +0800
committerLASER-Yi <[email protected]>2021-08-22 13:35:43 +0800
commit03156f2981889e5ac34a460c0631b688706f6452 (patch)
tree7ee5fd98045105ff48dcc8777a662bc498e1ac9c
parent2c5aecc0dbbba241512a016fc7bb302767fac600 (diff)
downloadbazarr-03156f2981889e5ac34a460c0631b688706f6452.tar.gz
bazarr-03156f2981889e5ac34a460c0631b688706f6452.zip
no log: Move theme-color meta to Header.tsxv0.9.8-beta.6
-rw-r--r--frontend/public/index.html1
-rw-r--r--frontend/src/App/Header.tsx4
2 files changed, 4 insertions, 1 deletions
diff --git a/frontend/public/index.html b/frontend/public/index.html
index c88185a04..14d20c9f3 100644
--- a/frontend/public/index.html
+++ b/frontend/public/index.html
@@ -17,7 +17,6 @@
name="description"
content="Bazarr is a companion application to Sonarr and Radarr. It manages and downloads subtitles based on your requirements. You define your preferences by TV show or movie and Bazarr takes care of everything for you."
/>
- <meta name="theme-color" content="#911f93" />
<link rel="manifest" href="%PUBLIC_URL%/static/manifest.json" />
</head>
<body>
diff --git a/frontend/src/App/Header.tsx b/frontend/src/App/Header.tsx
index 14eedb101..aebdde395 100644
--- a/frontend/src/App/Header.tsx
+++ b/frontend/src/App/Header.tsx
@@ -15,6 +15,7 @@ import {
Navbar,
Row,
} from "react-bootstrap";
+import { Helmet } from "react-helmet";
import { SidebarToggleContext } from ".";
import { siteRedirectToAuth } from "../@redux/actions";
import { useSystemSettings } from "../@redux/hooks";
@@ -101,6 +102,9 @@ const Header: FunctionComponent<Props> = () => {
return (
<Navbar bg="primary" className="flex-grow-1 px-0">
+ <Helmet>
+ <meta name="theme-color" content="#911f93" />
+ </Helmet>
<div className="header-icon px-3 m-0 d-none d-md-block">
<Image
alt="brand"