Renamed the Repository protocol in the app target as TodoRepository.

This commit is contained in:
2026-02-11 18:04:36 +01:00
parent 61adf5387f
commit 8772635ad9
5 changed files with 37 additions and 33 deletions
@@ -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)