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

fix: added scrollview to the stats page

This commit is contained in:
Maxime RICHARD 2024-05-23 15:46:25 +02:00
parent 5099e472bc
commit 671639862c

View File

@ -2,6 +2,7 @@ import { Card, Divider, Text } from "react-native-paper"
import CircularProgress from "react-native-circular-progress-indicator"
import { Agenda } from "react-native-calendars"
import { useState } from "react"
import { ScrollView } from "react-native"
import { getNowDateUTC, getISODate } from "@/utils/dates"
import type { HabitsTracker } from "@/domain/entities/HabitsTracker"
@ -39,7 +40,7 @@ export const HabitsStatistics: React.FC<HabitsStatisticsProps> = (props) => {
selected={selectedDateISO}
renderList={() => {
return (
<>
<ScrollView>
<Divider />
<Text
@ -107,7 +108,7 @@ export const HabitsStatistics: React.FC<HabitsStatisticsProps> = (props) => {
)
},
)}
</>
</ScrollView>
)
}}
/>