File tree Expand file tree Collapse file tree
DevLogDomain/Sources/Entity
DevLogPresentation/Sources/Home/List Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77
88import Foundation
99
10- public struct TodoCursor {
10+ public struct TodoCursor : Equatable {
1111 public let primarySortDate : Date ?
1212 public let secondarySortDate : Date ?
1313 public let documentID : String
Original file line number Diff line number Diff line change @@ -47,25 +47,6 @@ struct TodoListFeature {
4747 if query. completionFilter != . all { count += 1 }
4848 return count
4949 }
50-
51- static func == ( lhs: Self , rhs: Self ) -> Bool {
52- lhs. category == rhs. category &&
53- lhs. todos == rhs. todos &&
54- lhs. searchText == rhs. searchText &&
55- lhs. searchResults == rhs. searchResults &&
56- lhs. alert == rhs. alert &&
57- lhs. fullScreenCover == rhs. fullScreenCover &&
58- lhs. isSearching == rhs. isSearching &&
59- lhs. showAllSearchResults == rhs. showAllSearchResults &&
60- lhs. query == rhs. query &&
61- lhs. hasMore == rhs. hasMore &&
62- lhs. loading == rhs. loading &&
63- lhs. undoTodoId == rhs. undoTodoId &&
64- lhs. deleteToastTodoId == rhs. deleteToastTodoId &&
65- lhs. nextCursor? . primarySortDate == rhs. nextCursor? . primarySortDate &&
66- lhs. nextCursor? . secondarySortDate == rhs. nextCursor? . secondarySortDate &&
67- lhs. nextCursor? . documentID == rhs. nextCursor? . documentID
68- }
6950 }
7051
7152 @ObservableState
You can’t perform that action at this time.
0 commit comments