- Implemented saving of points per week per day for user

- Implemented saving of the number of completed todos per user
- Changed "To do's" labels to "To Do"
This commit is contained in:
Dejan
2024-12-25 22:41:53 +01:00
parent 406f541163
commit c14910447e
7 changed files with 38 additions and 9 deletions

View File

@ -23,7 +23,7 @@ const ViewSwitch = memo(function ViewSwitch({ navigation }: ViewSwitchProps) {
<SegmentedControl
segments={[
{ label: "Calendar", segmentLabelStyle: styles.labelStyle },
{ label: "To Do's", segmentLabelStyle: styles.labelStyle },
{ label: "To Dos", segmentLabelStyle: styles.labelStyle },
]}
containerStyle={styles.segmentContainer}
style={styles.segment}

View File

@ -145,7 +145,7 @@ const MoveBrainDump = (props: {
style={styles.optionsIcon}
/>
<Text style={styles.optionsReg}>Move to</Text>
<Text style={styles.optionsBold}> my to do's</Text>
<Text style={styles.optionsBold}> my to dos</Text>
</View>
</TouchableOpacity>
<TouchableOpacity>

View File

@ -41,7 +41,7 @@ const ToDosPage = () => {
<View>
<View>
<HeaderTemplate
message="Here are your To Do's"
message="Here are your To Dos"
isWelcome={true}
link={profileData?.userType == ProfileType.PARENT && pageLink}
isToDos={true}

View File

@ -33,7 +33,7 @@ const FamilyChoresProgress = ({
style={{ fontFamily: "Poppins_400Regular", fontSize: 14.71 }}
color="#979797"
>
Return to To Do's
Return to To Dos
</Text>
</View>
</TouchableOpacity>
@ -123,7 +123,7 @@ const FamilyChoresProgress = ({
</Text>
<View centerV>
<Text style={{ fontSize: 15, fontFamily: "Manrope_700Bold" }}>
x/y chores completed
{`${child?.weeklyCompletedTodos ?? 0}/y chores completed`}
</Text>
</View>
</View>