Fix ItemListController crash?

This commit is contained in:
Peter
2019-10-06 04:25:10 +04:00
parent 3ddbeea591
commit 36c82642d6
77 changed files with 615 additions and 244 deletions

View File

@@ -4,3 +4,11 @@ public protocol Identifiable {
associatedtype T: Hashable
var stableId: T { get }
}
public struct AnyIdentifiable {
var stableId: AnyHashable
public init<T>(_ value: T) where T : Identifiable {
self.stableId = value.stableId
}
}