From 8f820e61add16fe0e0a3af73b37ff29bef3c949d Mon Sep 17 00:00:00 2001 From: talksik Date: Wed, 15 Dec 2021 15:10:47 -0800 Subject: [PATCH] Update ContactsView.swift --- nirvana-ios/Views/Contacts/ContactsView.swift | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/nirvana-ios/Views/Contacts/ContactsView.swift b/nirvana-ios/Views/Contacts/ContactsView.swift index 161f668..afa22b2 100644 --- a/nirvana-ios/Views/Contacts/ContactsView.swift +++ b/nirvana-ios/Views/Contacts/ContactsView.swift @@ -24,9 +24,17 @@ struct ContactsView: View { VStack(spacing: 0) { OnboardingTemplateView(imgName: "undraw_grades_re_j7d6", mainLeadingActText: "Add your ", mainHighlightedActText: "closest folks.", mainTrailingActText: "", subActText: "besties, bf or gf, siblings, parents, etc.") - Rectangle() - .strokeBorder(style: StrokeStyle(lineWidth: 4, dash: [10])) - + Text("Add contacts") + .padding() + .foregroundColor(NirvanaColor.teal) + .overlay( + Rectangle() + .strokeBorder(style: StrokeStyle(lineWidth: 4, dash: [10])) + .foregroundColor(NirvanaColor.teal) + ) + .onTapGesture { + self.contactObj.showContactPicker.toggle() + } } .background(NirvanaColor.bgLightGrey) .alert(item: $contactsViewModel.permissionsError) {_ in