mirror of
https://github.com/urosran/cally.git
synced 2026-10-27 07:27:54 +00:00
- Added the repeat days selected for the created todos in the edit dialog
This commit is contained in:
@@ -123,7 +123,8 @@ const AddChoreDialog = (addChoreDialogProps: IAddChoreDialog) => {
|
||||
updateToDo({
|
||||
...todo,
|
||||
points: points,
|
||||
assignees: selectedAssignees
|
||||
assignees: selectedAssignees,
|
||||
repeatDays: selectedDays,
|
||||
});
|
||||
} else {
|
||||
addToDo({
|
||||
@@ -213,7 +214,7 @@ const AddChoreDialog = (addChoreDialogProps: IAddChoreDialog) => {
|
||||
))}
|
||||
</Picker>
|
||||
</View>
|
||||
{todo.repeatType == "Every week" && <RepeatFreq handleRepeatDaysChange={handleRepeatDaysChange}/>}
|
||||
{todo.repeatType == "Every week" && <RepeatFreq handleRepeatDaysChange={handleRepeatDaysChange} repeatDays={todo.repeatDays ?? []}/>}
|
||||
</View>
|
||||
<View style={styles.divider} />
|
||||
|
||||
|
||||
Reference in New Issue
Block a user