added household name

This commit is contained in:
ivic00
2024-11-17 23:53:28 +01:00
parent c1f7113dfc
commit 111244e178
7 changed files with 204 additions and 37 deletions
+14 -1
View File
@@ -3,6 +3,7 @@ import { ScrollView, RefreshControl } from "react-native";
import { useSetAtom } from "jotai";
import CalendarPage from "@/components/pages/calendar/CalendarPage";
import { refreshTriggerAtom } from "@/components/pages/calendar/atoms";
import { colorMap } from "@/constants/colorMap";
export default function Screen() {
const [refreshing, setRefreshing] = useState(false);
@@ -29,7 +30,19 @@ export default function Screen() {
style={{ flex: 1 }}
contentContainerStyle={{ flex: 1 }}
refreshControl={
<RefreshControl refreshing={refreshing} onRefresh={onRefresh} />
<RefreshControl
colors={[
colorMap.pink,
colorMap.green,
colorMap.orange,
colorMap.purple,
colorMap.teal,
]}
tintColor={colorMap.pink}
progressBackgroundColor={"white"}
refreshing={refreshing}
onRefresh={onRefresh}
/>
}
bounces={true}
showsVerticalScrollIndicator={false}