mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
- 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:
@ -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}
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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}
|
||||
|
||||
@ -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>
|
||||
|
||||
Reference in New Issue
Block a user