Fix view weight graph for small screens
This commit is contained in:
parent
5a9030dae7
commit
3ed87114d2
|
@ -1,6 +1,6 @@
|
||||||
import { format } from "date-fns";
|
import { format } from "date-fns";
|
||||||
import { useEffect, useMemo, useState } from "react";
|
import { useEffect, useMemo, useState } from "react";
|
||||||
import { View } from "react-native";
|
import { ScrollView, View } from "react-native";
|
||||||
import { FileSystem } from "react-native-file-access";
|
import { FileSystem } from "react-native-file-access";
|
||||||
import { IconButton, List } from "react-native-paper";
|
import { IconButton, List } from "react-native-paper";
|
||||||
import Share from "react-native-share";
|
import Share from "react-native-share";
|
||||||
|
@ -74,7 +74,7 @@ export default function ViewWeightGraph() {
|
||||||
icon="share"
|
icon="share"
|
||||||
/>
|
/>
|
||||||
</StackHeader>
|
</StackHeader>
|
||||||
<View style={{ padding: PADDING }}>
|
<ScrollView style={{ padding: PADDING }}>
|
||||||
<Select
|
<Select
|
||||||
label="Period"
|
label="Period"
|
||||||
items={[
|
items={[
|
||||||
|
@ -89,7 +89,7 @@ export default function ViewWeightGraph() {
|
||||||
value={period}
|
value={period}
|
||||||
/>
|
/>
|
||||||
{charts}
|
{charts}
|
||||||
</View>
|
</ScrollView>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user