From c00706afc24bcc2858857a92c36f7a91615afb4f Mon Sep 17 00:00:00 2001 From: talksik Date: Thu, 23 Dec 2021 02:00:08 -0800 Subject: [PATCH] changing contact view to not have the wave background in the back...it's a sheet, keep it simple --- .../Views/Contacts/FindFriendsView.swift | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/nirvana-ios/Views/Contacts/FindFriendsView.swift b/nirvana-ios/Views/Contacts/FindFriendsView.swift index db59f16..437b4f4 100644 --- a/nirvana-ios/Views/Contacts/FindFriendsView.swift +++ b/nirvana-ios/Views/Contacts/FindFriendsView.swift @@ -20,23 +20,19 @@ struct FindFriendsView: View { var body: some View { NavigationView { - ZStack { - WavesGlassBackgroundView() + VStack { + Text("You must have someone in your phone contacts to add them. 🥬") + .font(.subheadline) + .foregroundColor(Color.gray) - VStack { - Text("You must have someone in your phone contacts to add them. 🥬") - .font(.subheadline) - .foregroundColor(Color.gray) - - List { - ForEach(searchItems, id: \.self) { key in - if let currContact = self.contactsVM.contacts[key] { - ListContactRow(contactsVM: self.contactsVM, contact: currContact) - } + List { + ForEach(searchItems, id: \.self) { key in + if let currContact = self.contactsVM.contacts[key] { + ListContactRow(contactsVM: self.contactsVM, contact: currContact) } } - .searchable(text: self.$searchQuery) } + .searchable(text: self.$searchQuery) } .navigationTitle("Find Friends") .navigationBarItems(trailing: Button(action: {