diff --git a/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SenderViewChildren/SmallContactListView.swift b/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SenderViewChildren/SmallContactListView.swift index 6f95ebf87e5778efc1549d9cda1cb0fabdec9f15..aa309d837fadd265e4a5e4e6f62fc30e6999e2b2 100644 --- a/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SenderViewChildren/SmallContactListView.swift +++ b/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SenderViewChildren/SmallContactListView.swift @@ -53,7 +53,7 @@ struct SmallContactListView <C: DisplayContact>: View { // Without an entry in "fromMail", the code will not be executed. Why is "fromMail" necessary to call "ContactView"? // Therefor we put a dummymail in there - NavigationLink(destination: ContactView(contact: contact, fromMail: ProxyData.SecureMail)) { + NavigationLink(destination: ContactView<C, MailRecord>(contact: contact, fromMail: nil)) { HStack { CircleImage(image: contact.myImage, radius: 40) VStack (alignment: .leading, spacing: 2){