From 2e87980bf91eee82171e8d946ce23e5ef8e4a173 Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Wed, 18 May 2022 09:43:54 +0430 Subject: [PATCH] reza fixed video and display font --- src/screens/Video/components/Season.js | 4 ++-- src/screens/Video/index.js | 4 ++-- src/screens/VideoDisplay/components/Season/index.js | 4 ++-- src/screens/VideoDisplay/index.js | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/screens/Video/components/Season.js b/src/screens/Video/components/Season.js index 3899e2b..24b9bf4 100644 --- a/src/screens/Video/components/Season.js +++ b/src/screens/Video/components/Season.js @@ -108,7 +108,7 @@ const Season = ({ width: "100%", textAlign: "center", fontFamily: "bold", - fontSize: mobile ? fontSize.tiny : fontSize.lg, + fontSize: mobile ? fontSize.tiny : fontSize.tiny, color: Number(index) === 0 ? Colors.theme1.greenCF @@ -143,7 +143,7 @@ const Season = ({ style={[ { fontFamily: "bold", - fontSize: mobile ? fontSize.base : fontSize.xl, + fontSize: mobile ? fontSize.base : fontSize.base, color: theme === "light" ? Colors.theme1.green79 diff --git a/src/screens/Video/index.js b/src/screens/Video/index.js index 5ef4b59..ae0faec 100644 --- a/src/screens/Video/index.js +++ b/src/screens/Video/index.js @@ -137,7 +137,7 @@ function Product({ theme === "light" ? Colors.theme1.green79 : Colors.theme1.white, - fontSize: mobile ? fontSize.base : fontSize.xl3, + fontSize: mobile ? fontSize.base : fontSize.xl, marginBottom: 0, fontFamily: "demi", }} @@ -150,7 +150,7 @@ function Product({ theme === "light" ? Colors.theme1.green79 : Colors.theme1.white, - fontSize: mobile ? fontSize.tiny : fontSize.xl, + fontSize: mobile ? fontSize.tiny : fontSize.lg, marginTop: 10, fontFamily: "regular", }} diff --git a/src/screens/VideoDisplay/components/Season/index.js b/src/screens/VideoDisplay/components/Season/index.js index bab1a5c..beebbfe 100644 --- a/src/screens/VideoDisplay/components/Season/index.js +++ b/src/screens/VideoDisplay/components/Season/index.js @@ -91,7 +91,7 @@ const Season = ({ style={[ { fontFamily: "bold", - fontSize: mobile ? fontSize.base : fontSize.xl, + fontSize: mobile ? fontSize.base : fontSize.base, color: activeUnit === unit ? "white" @@ -122,7 +122,7 @@ const Season = ({ width: "100%", textAlign: "center", fontFamily: "demi", - fontSize: mobile ? fontSize.base : fontSize.xl, + fontSize: mobile ? fontSize.base : fontSize.base, color: activeUnit === unit ? "white" diff --git a/src/screens/VideoDisplay/index.js b/src/screens/VideoDisplay/index.js index e8c4cf1..9bc5695 100644 --- a/src/screens/VideoDisplay/index.js +++ b/src/screens/VideoDisplay/index.js @@ -86,7 +86,7 @@ function VideoDisplay({ route, mobile, theme }) { marginTop: mobile ? 8 : 12, color: theme === "light" ? Colors.theme1.gray20 : Colors.theme1.white, - textAlign: ios ? "right" : "auto", + textAlign: "right", }} > {route.params.unit?.name}