Rename method

This commit is contained in:
Danny Moesch 2021-08-26 23:12:13 +02:00 committed by Mingshen Sun
parent 545186da96
commit b3eef51a9d
6 changed files with 8 additions and 8 deletions

View file

@ -68,7 +68,7 @@ class PasswordNavigationDataSource: NSObject, UITableViewDataSource {
}
filteredSections = sections.map { section in
let entries = section.entries.filter { $0.match(text) }
let entries = section.entries.filter { $0.matches(text) }
return Section(title: section.title, entries: entries)
}
.filter { !$0.entries.isEmpty }