Skip to content

Commit

Permalink
fixup! Sample app: make building in Xcode 11.7 possible
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahadir Oncel committed Oct 14, 2020
1 parent a0f8b6f commit 63e1bca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Sample_v3/Samples/SwiftUISimpleChat/UserListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,4 @@
}
}

/// Protocol conformance needed for ActionSheet presenting.
extension ChatUser: Identifiable {}

#endif
3 changes: 3 additions & 0 deletions Sources_v3/Models/User.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ public extension ChatUser {
}
}

/// Protocol conformance needed for ActionSheet presenting.
extension ChatUser: Identifiable {}

/// You need to make your custom type conforming to this protocol if you want to use it for extending `ChatUser` entity with your
/// custom additional data.
///
Expand Down

0 comments on commit 63e1bca

Please sign in to comment.