diff --git a/app/(auth)/calendar/index.tsx b/app/(auth)/calendar/index.tsx index 4ea0616..a5018f3 100644 --- a/app/(auth)/calendar/index.tsx +++ b/app/(auth)/calendar/index.tsx @@ -22,33 +22,58 @@ export default function Screen() { } }, [resyncAllCalendars]); - const refreshControl = ( - - ); - return ( - - - {isTablet ? : } + + + {Device.deviceType === DeviceType.TABLET ? ( + + ) : ( + + )} - + + + } + bounces={true} + showsVerticalScrollIndicator={false} + pointerEvents={refreshing || isSyncing ? "auto" : "none"} + /> + ); -} \ No newline at end of file +} diff --git a/app/(unauth)/cal_sync.tsx b/app/(unauth)/cal_sync.tsx index 4eb6cba..565a5dc 100644 --- a/app/(unauth)/cal_sync.tsx +++ b/app/(unauth)/cal_sync.tsx @@ -27,7 +27,7 @@ export default function Screen() { {householdName && - You Joined {householdName} + You Joined The {householdName} Household } Let's get started! diff --git a/components/pages/settings/SettingsPage.tsx b/components/pages/settings/SettingsPage.tsx index cbe0b6c..711fb84 100644 --- a/components/pages/settings/SettingsPage.tsx +++ b/components/pages/settings/SettingsPage.tsx @@ -55,7 +55,7 @@ const SettingsPage = () => { isntParent ? styles.disabledText : { color: "#07b9c8" }, ]} > - Manage My Profile + User Profiles & Settings diff --git a/components/pages/settings/user_settings_views/MyGroup.tsx b/components/pages/settings/user_settings_views/MyGroup.tsx index 1cf8822..76d253a 100644 --- a/components/pages/settings/user_settings_views/MyGroup.tsx +++ b/components/pages/settings/user_settings_views/MyGroup.tsx @@ -34,6 +34,7 @@ import KeyboardManager, { import { ScrollView } from "react-native-gesture-handler"; import { useUploadProfilePicture } from "@/hooks/useUploadProfilePicture"; import UserOptions from "./UserOptions"; +import { colorMap } from "@/constants/colorMap"; type MyGroupProps = { onNewUserClick: boolean; @@ -181,7 +182,7 @@ const MyGroup: React.FC = ({ /> ) : ( )} diff --git a/components/pages/settings/user_settings_views/MyProfile.tsx b/components/pages/settings/user_settings_views/MyProfile.tsx index cabb58c..87fc963 100644 --- a/components/pages/settings/user_settings_views/MyProfile.tsx +++ b/components/pages/settings/user_settings_views/MyProfile.tsx @@ -109,7 +109,7 @@ const MyProfile = () => { useEffect(() => { setHouseholdName(hhName); - }, [hhName]) + }, [hhName]); const pickImage = async () => { const permissionResult = @@ -262,40 +262,6 @@ const MyProfile = () => { /> - - - Settings - Time Zone - - setTimeZone(item as string)} - showSearch - floatingPlaceholder - style={styles.inViewPicker} - trailingAccessory={ - - - - } - > - {timeZoneItems} - - - Color Preference @@ -337,15 +303,92 @@ const MyProfile = () => { + + handleChangeColor(colorMap.navy)}> + + {selectedColor == colorMap.navy && ( + + )} + + + handleChangeColor(colorMap.red)}> + + {selectedColor == colorMap.red && ( + + )} + + + handleChangeColor(colorMap.gray)}> + + {selectedColor == colorMap.gray && ( + + )} + + + handleChangeColor(colorMap.yellow)}> + + {selectedColor == colorMap.yellow && ( + + )} + + + handleChangeColor(colorMap.sky)}> + + {selectedColor == colorMap.sky && ( + + )} + + + -