Skip to content

Commit

Permalink
Update SearchDemo.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
anupamchugh committed Jun 8, 2020
1 parent 9c373f5 commit 5749c75
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ struct SearchDemo: View {
List {
ForEach(self.weeks.filter {
self.searchText.isEmpty ? true : $0.lowercased().contains(self.searchText.lowercased())
}, id: \.self) { car in
Text(car)
}, id: \.self) { day in
Text(day)
}
}.navigationBarTitle(Text("DaysOfAWeek"))
}
Expand Down

0 comments on commit 5749c75

Please sign in to comment.