From b980d6dd9f2c133db940866ea9226f6dd8578579 Mon Sep 17 00:00:00 2001 From: Arnaud AMBROSELLI Date: Thu, 12 May 2022 10:40:25 +0200 Subject: [PATCH] fix: speedometer --- src/scenes/Gains/MyGains.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scenes/Gains/MyGains.js b/src/scenes/Gains/MyGains.js index b9f32a221..dd9f780b0 100644 --- a/src/scenes/Gains/MyGains.js +++ b/src/scenes/Gains/MyGains.js @@ -107,7 +107,7 @@ const MyGains = ({ days, dailyDoses, drinks }) => { totalValue={drinkByWeek} size={screenWidth / 4} outerColor="#d3d3d3" - internalColor={`rgba(64, 48, 165, ${50 / 100})`} + internalColor={`rgba(64, 48, 165, ${remaindrink / drinkByWeek})`} /> } description="Jours où je n'ai pas bu" value={notDrinkDaythisWeek} />