diff --git a/package.json b/package.json index 4634525f8..1cd112fea 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@sentry/browser": "8.42.0", "@stremio/stremio-colors": "5.2.0", "@stremio/stremio-core-web": "0.56.4", - "@stremio/stremio-icons": "5.8.0", + "@stremio/stremio-icons": "5.10.0", "@stremio/stremio-video": "0.0.77", "a-color-picker": "1.2.1", "bowser": "2.11.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7de85f520..4ff70efdc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: 0.56.4 version: 0.56.4 '@stremio/stremio-icons': - specifier: 5.8.0 - version: 5.8.0 + specifier: 5.10.0 + version: 5.10.0 '@stremio/stremio-video': specifier: 0.0.77 version: 0.0.77 @@ -1123,8 +1123,8 @@ packages: '@stremio/stremio-core-web@0.56.4': resolution: {integrity: sha512-tFAMYgKrJ1bkvHRMpxDykM/844sDjgRPFk6FLhjQiwh01OHIyEgDqGo/NgwFM+CuMR4mW676SDvwNHkK0Xqg3w==} - '@stremio/stremio-icons@5.8.0': - resolution: {integrity: sha512-IVUvQbIWfA4YEHCTed7v/sdQJCJ+OOCf84LTWpkE2W6GLQ+15WHcMEJrVkE1X3ekYJnGg3GjT0KLO6tKSU0P4w==} + '@stremio/stremio-icons@5.10.0': + resolution: {integrity: sha512-Zw/vGC3D2yeQfk8xv/tfMJTDvbCPOI91tBg4XpR2+EgbZSX8Xvm7Vz457PIhFPhTAwdOPHp0VX0M3gzjbt0zOg==} '@stremio/stremio-video@0.0.77': resolution: {integrity: sha512-bnKBS5a9R3+M0zx95YpDUiPs1gXcKCsybgdxfZmpWuQaN0RE9bTBAUlIfBSrcEjVhufMOvg+cfXScT+0fBzTTw==} @@ -5874,7 +5874,7 @@ snapshots: dependencies: '@babel/runtime': 7.24.1 - '@stremio/stremio-icons@5.8.0': {} + '@stremio/stremio-icons@5.10.0': {} '@stremio/stremio-video@0.0.77': dependencies: diff --git a/src/components/NavBar/HorizontalNavBar/HorizontalNavBar.js b/src/components/NavBar/HorizontalNavBar/HorizontalNavBar.js index 65bf30c94..6fed91c8a 100644 --- a/src/components/NavBar/HorizontalNavBar/HorizontalNavBar.js +++ b/src/components/NavBar/HorizontalNavBar/HorizontalNavBar.js @@ -12,7 +12,7 @@ const NavMenu = require('./NavMenu'); const styles = require('./styles'); const { t } = require('i18next'); -const HorizontalNavBar = React.memo(({ className, route, query, title, backButton, searchBar, fullscreenButton, navMenu, ...props }) => { +const HorizontalNavBar = React.memo(({ className, route, query, title, backButton, searchBar, fullscreenButton, navMenu, hdrInfo, ...props }) => { const backButtonOnClick = React.useCallback(() => { window.history.back(); }, []); @@ -53,6 +53,14 @@ const HorizontalNavBar = React.memo(({ className, route, query, title, backButto null }
+ { + hdrInfo && (hdrInfo.gamma === 'pq' || hdrInfo.gamma === 'hlg') ? +
+ +
+ : + null + } { !isIOSPWA && fullscreenButton ?