1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00

fix: habits statistics center CircularProgress

This commit is contained in:
Théo LUDWIG 2024-05-23 00:33:29 +02:00
parent c455326f8e
commit 47bf926fd8
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -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}.