From 9915acbebb1c1399cbf542a7329833c25d07e0d2 Mon Sep 17 00:00:00 2001 From: Roy Schut Date: Fri, 30 Jul 2021 14:18:51 +0200 Subject: [PATCH 01/28] feat(videodetail): implement conditional startwatching button + label --- src/components/Video/Video.test.tsx | 4 +- src/components/Video/Video.tsx | 14 +- .../Video/__snapshots__/Video.test.tsx.snap | 2 +- src/components/Welcome/Welcome.tsx | 11 +- src/i18n/locales/en_US/video.json | 3 + src/i18n/locales/nl_NL/video.json | 3 + src/screens/Movie/Movie.tsx | 118 ++++++++++----- src/screens/Series/Series.tsx | 140 ++++++++++++------ src/utils/cleeng.ts | 7 + types/playlist.d.ts | 1 + 10 files changed, 207 insertions(+), 96 deletions(-) create mode 100644 src/utils/cleeng.ts diff --git a/src/components/Video/Video.test.tsx b/src/components/Video/Video.test.tsx index c988fc065..1c75d4aa3 100644 --- a/src/components/Video/Video.test.tsx +++ b/src/components/Video/Video.test.tsx @@ -28,7 +28,9 @@ describe('