changing contact view to not have the wave background in the back...it's a sheet, keep it simple

This commit is contained in:
talksik
2021-12-23 02:00:08 -08:00
parent de973c4652
commit c00706afc2
@@ -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: {