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:
parent
5099e472bc
commit
671639862c
@ -2,6 +2,7 @@ import { Card, Divider, Text } from "react-native-paper"
|
|||||||
import CircularProgress from "react-native-circular-progress-indicator"
|
import CircularProgress from "react-native-circular-progress-indicator"
|
||||||
import { Agenda } from "react-native-calendars"
|
import { Agenda } from "react-native-calendars"
|
||||||
import { useState } from "react"
|
import { useState } from "react"
|
||||||
|
import { ScrollView } from "react-native"
|
||||||
|
|
||||||
import { getNowDateUTC, getISODate } from "@/utils/dates"
|
import { getNowDateUTC, getISODate } from "@/utils/dates"
|
||||||
import type { HabitsTracker } from "@/domain/entities/HabitsTracker"
|
import type { HabitsTracker } from "@/domain/entities/HabitsTracker"
|
||||||
@ -39,7 +40,7 @@ export const HabitsStatistics: React.FC<HabitsStatisticsProps> = (props) => {
|
|||||||
selected={selectedDateISO}
|
selected={selectedDateISO}
|
||||||
renderList={() => {
|
renderList={() => {
|
||||||
return (
|
return (
|
||||||
<>
|
<ScrollView>
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|
||||||
<Text
|
<Text
|
||||||
@ -107,7 +108,7 @@ export const HabitsStatistics: React.FC<HabitsStatisticsProps> = (props) => {
|
|||||||
)
|
)
|
||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
</>
|
</ScrollView>
|
||||||
)
|
)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
Loading…
Reference in New Issue
Block a user