Skip to content

Commit b7c15a2

Browse files
committed
refactor: remove fallthrough
1 parent 2643c11 commit b7c15a2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

WordPress/Classes/ViewRelated/People/PeopleViewController.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ class PeopleViewController: UITableViewController, UIViewControllerRestoration {
6969
// Followers must be sorted out by creationDate!
7070
//
7171
switch filter {
72-
case .followers:
73-
fallthrough
74-
case .email:
72+
case .followers, .email:
7573
return [NSSortDescriptor(key: "creationDate", ascending: true, selector: #selector(NSDate.compare(_:)))]
7674
default:
7775
return [NSSortDescriptor(key: "displayName", ascending: true, selector: #selector(NSString.localizedCaseInsensitiveCompare(_:)))]

0 commit comments

Comments
 (0)