Skip to content

Commit

Permalink
Fixes search in macOS example, close #371
Browse files Browse the repository at this point in the history
Summary:
Changed the criteria for starting search in the OS X Example. Closes #371

Doesn't look like there are tests for the example app. Please ping me if you'd like me to add some. Also, please ping me if you'd like me to add this change to the changelog -- I'm assuming bug fixes to sample apps don't get included there.

- [x] All tests pass. Demo project builds and runs.
- [x] I added tests, an experiment, or detailed why my change isn't tested.
- [x] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes.
- [x] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md)
Closes #377

Differential Revision: D4374006

Pulled By: jessesquires

fbshipit-source-id: 6e20f61aece769240aa63c8949d3c06a0ecd26c8
  • Loading branch information
heshamsalman authored and Facebook Github Bot committed Dec 29, 2016
1 parent a748e6f commit 0de9632
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ final class UsersViewController: NSViewController {
}

private func computeFilteredUsers() {
guard searchTerm.characters.count > 1 else {
guard !searchTerm.characters.isEmpty else {
filteredUsers = users
return
}
Expand Down

0 comments on commit 0de9632

Please sign in to comment.