From 92c7ea579f526c524367171640d1bb7ae97e86fd Mon Sep 17 00:00:00 2001 From: lyswhut Date: Wed, 6 Apr 2022 11:48:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A2=9C=E8=89=B2=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/components/PlayerPortrait/components/PlayInfo.js | 3 ++- src/screens/PlayDetail/Landscape/PlayBar/index.js | 3 ++- src/screens/PlayDetail/Portrait/Player/components/PlayInfo.js | 3 ++- .../SonglistDetail/PlayerPortrait/components/PlayInfo.js | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/screens/Home/components/PlayerPortrait/components/PlayInfo.js b/src/screens/Home/components/PlayerPortrait/components/PlayInfo.js index c8173439..83878c37 100644 --- a/src/screens/Home/components/PlayerPortrait/components/PlayInfo.js +++ b/src/screens/Home/components/PlayerPortrait/components/PlayInfo.js @@ -19,6 +19,7 @@ const PlayTimeMax = memo(({ timeStr }) => { export default () => { const { curTimeStr, maxTimeStr, progress, bufferedProgress, duration } = usePlayTime() + const theme = useGetter('common', 'theme') return ( <> @@ -30,7 +31,7 @@ export default () => { - / + / diff --git a/src/screens/PlayDetail/Landscape/PlayBar/index.js b/src/screens/PlayDetail/Landscape/PlayBar/index.js index 44dd668c..1ec12e8f 100644 --- a/src/screens/PlayDetail/Landscape/PlayBar/index.js +++ b/src/screens/PlayDetail/Landscape/PlayBar/index.js @@ -21,6 +21,7 @@ export default () => { const { curTimeStr, maxTimeStr, progress, bufferedProgress, duration } = usePlayTime() const { window } = useDimensions() const size = useMemo(() => window.width * 0.4 * 0.4 * 0.125, [window.width]) + const theme = useGetter('common', 'theme') return ( @@ -31,7 +32,7 @@ export default () => { - / + / diff --git a/src/screens/PlayDetail/Portrait/Player/components/PlayInfo.js b/src/screens/PlayDetail/Portrait/Player/components/PlayInfo.js index 8fb5b3b1..8ae7a4ef 100644 --- a/src/screens/PlayDetail/Portrait/Player/components/PlayInfo.js +++ b/src/screens/PlayDetail/Portrait/Player/components/PlayInfo.js @@ -19,6 +19,7 @@ const PlayTimeMax = memo(({ timeStr }) => { export default () => { const { curTimeStr, maxTimeStr, progress, bufferedProgress, duration } = usePlayTime() + const theme = useGetter('common', 'theme') return ( <> @@ -29,7 +30,7 @@ export default () => { - / + / diff --git a/src/screens/SonglistDetail/PlayerPortrait/components/PlayInfo.js b/src/screens/SonglistDetail/PlayerPortrait/components/PlayInfo.js index edbac347..3de417ad 100644 --- a/src/screens/SonglistDetail/PlayerPortrait/components/PlayInfo.js +++ b/src/screens/SonglistDetail/PlayerPortrait/components/PlayInfo.js @@ -19,6 +19,7 @@ const PlayTimeMax = memo(({ timeStr }) => { export default () => { const { curTimeStr, maxTimeStr, progress, bufferedProgress, duration } = usePlayTime() + const theme = useGetter('common', 'theme') return ( <> @@ -30,7 +31,7 @@ export default () => { - / + /