소스 검색

fix?: add UUID to Project() in the hopes that it prevents dictionary errors...

Sam Jaffe 2 주 전
부모
커밋
2cd511298e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      Todos/Model/Project.swift

+ 1 - 0
Todos/Model/Project.swift

@@ -13,6 +13,7 @@ import SwiftUI
 final class Project: Codable, Ordered, Aggregate {
   typealias Element = Task
 
+  var uuid: UUID = UUID()
   var sortOrder: Int = 0
   var timestamp: Date
   var name: String = "New Project"