Renamed the Repository protocol in the app target as TodoRepository.
This commit is contained in:
@@ -64,7 +64,7 @@ extension NewTaskView {
|
||||
/// The `note` property value is only included if it's not empty after trimming.
|
||||
///
|
||||
/// - Parameter repository: The repository to insert a new todo task.
|
||||
func save(to repository: Repository) {
|
||||
func save(to repository: TodoRepository) {
|
||||
let trimmedTitle = title.trimmingCharacters(in: .whitespacesAndNewlines)
|
||||
let trimmedNote = note.trimmingCharacters(in: .whitespacesAndNewlines)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user