diff --git a/Monal/Classes/ContactEntry.swift b/Monal/Classes/ContactEntry.swift index bbb6fa04a..0f36fd277 100644 --- a/Monal/Classes/ContactEntry.swift +++ b/Monal/Classes/ContactEntry.swift @@ -7,11 +7,12 @@ // struct ContactEntry: View { - let contact: ObservableKVOWrapper let selfnotesPrefix: Bool let fallback: String? @ViewBuilder let additionalContent: () -> AdditionalContent + @StateObject let contact: ObservableKVOWrapper + init(contact:ObservableKVOWrapper, selfnotesPrefix: Bool = true, fallback: String? = nil) where AdditionalContent == EmptyView { self.init(contact:contact, selfnotesPrefix:selfnotesPrefix, fallback:fallback, additionalContent:{ EmptyView() }) }