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 { var body: some View {
NavigationView { NavigationView {
ZStack { VStack {
WavesGlassBackgroundView() Text("You must have someone in your phone contacts to add them. 🥬")
.font(.subheadline)
.foregroundColor(Color.gray)
VStack { List {
Text("You must have someone in your phone contacts to add them. 🥬") ForEach(searchItems, id: \.self) { key in
.font(.subheadline) if let currContact = self.contactsVM.contacts[key] {
.foregroundColor(Color.gray) 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") .navigationTitle("Find Friends")
.navigationBarItems(trailing: Button(action: { .navigationBarItems(trailing: Button(action: {