From c2416d14cfeeba62299c9ad8c65ba06034a0fa6f Mon Sep 17 00:00:00 2001 From: benguedj <71835422+benguedj@users.noreply.github.com> Date: Thu, 29 Apr 2021 13:45:04 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Corrige=20l'affichage=20d?= =?UTF-8?q?es=20textes=20en=20Bold=20sur=20Android=20(#171)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 🐛 Corrige l'affichage des textes en Bold sur Android * fix: 🐛 Corrige l'affichage des textes en Bold sur Android --- front/components/BackButton.tsx | 1 + front/components/form/Button.tsx | 1 + front/components/form/Checkbox.tsx | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/front/components/BackButton.tsx b/front/components/BackButton.tsx index a2ea6213b..8ba8ad805 100644 --- a/front/components/BackButton.tsx +++ b/front/components/BackButton.tsx @@ -40,6 +40,7 @@ const styles = StyleSheet.create({ font: { fontFamily: getFontFamilyName(FontNames.comfortaa, FontWeight.bold), fontSize: 14, + fontWeight: FontWeight.normal, }, }); diff --git a/front/components/form/Button.tsx b/front/components/form/Button.tsx index 22f0b1090..e78b367d2 100644 --- a/front/components/form/Button.tsx +++ b/front/components/form/Button.tsx @@ -62,6 +62,7 @@ const styles = StyleSheet.create({ font: { fontFamily: getFontFamilyName(FontNames.comfortaa, FontWeight.bold), fontSize: 17, + fontWeight: FontWeight.normal, }, roundedButton: { backgroundColor: Colors.primaryBlue, diff --git a/front/components/form/Checkbox.tsx b/front/components/form/Checkbox.tsx index 29074587e..e399f5738 100644 --- a/front/components/form/Checkbox.tsx +++ b/front/components/form/Checkbox.tsx @@ -36,8 +36,9 @@ const styles = StyleSheet.create({ }, label: { color: Colors.primaryBlueDark, - fontFamily: getFontFamilyName(FontNames.comfortaa, FontWeight.normal), + fontFamily: getFontFamilyName(FontNames.comfortaa, FontWeight.bold), fontSize: 11, + fontWeight: FontWeight.normal, }, labelSelected: { color: Colors.secondaryGreen,