From 47bf926fd82746c61cf940774c9f96c1ccb7587f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9o=20LUDWIG?= <contact@theoludwig.fr>
Date: Thu, 23 May 2024 00:33:29 +0200
Subject: [PATCH] fix: habits statistics center CircularProgress

---
 .../react-native/components/HabitsStatistics.tsx         | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/presentation/react-native/components/HabitsStatistics.tsx b/presentation/react-native/components/HabitsStatistics.tsx
index 46ac600..c7a2da0 100644
--- a/presentation/react-native/components/HabitsStatistics.tsx
+++ b/presentation/react-native/components/HabitsStatistics.tsx
@@ -84,8 +84,13 @@ export const HabitsStatistics: React.FC<HabitsStatisticsProps> = (props) => {
                       mode="elevated"
                       style={{ marginVertical: 8, marginHorizontal: 10 }}
                     >
-                      <Card.Content>
-                        <Text variant="bodyMedium">
+                      <Card.Content
+                        style={{
+                          justifyContent: "center",
+                          alignItems: "center",
+                        }}
+                      >
+                        <Text variant="bodyMedium" style={{ marginBottom: 5 }}>
                           {totalGoalsSuccess} achieved goals in the{" "}
                           {GOAL_FREQUENCIES_TYPES[frequency]} out of{" "}
                           {totalGoals}.
-- 
GitLab