From 63e1bca7835606a1113024bab02705576844fd34 Mon Sep 17 00:00:00 2001 From: Bahadir Oncel Date: Wed, 14 Oct 2020 17:34:33 +0300 Subject: [PATCH] fixup! Sample app: make building in Xcode 11.7 possible --- Sample_v3/Samples/SwiftUISimpleChat/UserListView.swift | 3 --- Sources_v3/Models/User.swift | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sample_v3/Samples/SwiftUISimpleChat/UserListView.swift b/Sample_v3/Samples/SwiftUISimpleChat/UserListView.swift index 9e9c720b769..af09d2a1473 100644 --- a/Sample_v3/Samples/SwiftUISimpleChat/UserListView.swift +++ b/Sample_v3/Samples/SwiftUISimpleChat/UserListView.swift @@ -87,7 +87,4 @@ } } - /// Protocol conformance needed for ActionSheet presenting. - extension ChatUser: Identifiable {} - #endif diff --git a/Sources_v3/Models/User.swift b/Sources_v3/Models/User.swift index 3905797e7d5..76c75dc8c44 100644 --- a/Sources_v3/Models/User.swift +++ b/Sources_v3/Models/User.swift @@ -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. ///