diff --git a/Tusker/Views/Notifications/FollowNotificationGroupTableViewCell.swift b/Tusker/Views/Notifications/FollowNotificationGroupTableViewCell.swift index 1303f433e2..e0e5fc7e68 100644 --- a/Tusker/Views/Notifications/FollowNotificationGroupTableViewCell.swift +++ b/Tusker/Views/Notifications/FollowNotificationGroupTableViewCell.swift @@ -77,11 +77,11 @@ class FollowNotificationGroupTableViewCell: UITableViewCell { let peopleStr: String switch people.count { case 1: - peopleStr = people.first!.displayName + peopleStr = people.first!.displayOrUserName case 2: - peopleStr = people.first!.displayName + " and " + people.last!.displayName + peopleStr = people.first!.displayOrUserName + " and " + people.last!.displayOrUserName default: - peopleStr = people.dropLast().map { $0.displayName }.joined(separator: ", ") + ", and " + people.last!.displayName + peopleStr = people.dropLast().map { $0.displayOrUserName }.joined(separator: ", ") + ", and " + people.last!.displayOrUserName } actionLabel.text = "Followed by \(peopleStr)"