Skip to content

Commit

Permalink
fix: speedometer
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed May 12, 2022
1 parent dbaf51f commit b980d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scenes/Gains/MyGains.js
Original file line number Diff line number Diff line change
Expand Up @@ -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})`}
/>
</CategorieGain>
<CategorieGain icon={<NoDrink size={24} />} description="Jours où je n'ai pas bu" value={notDrinkDaythisWeek} />
Expand Down

0 comments on commit b980d6d

Please sign in to comment.