show No more new friends. if no more friendsInContacts

This commit is contained in:
nixzhu
2015-06-01 23:45:22 +08:00
parent 1156555685
commit f8430afa15
@@ -26,7 +26,13 @@ class FriendsInContactsViewController: BaseViewController {
updateDiscoverTableView()
} else {
let label = UILabel(frame: CGRect(x: 0, y: 0, width: friendsTableView.bounds.width, height: 240))
label.textAlignment = .Center
label.text = NSLocalizedString("No more new friends.", comment: "")
label.textColor = UIColor.lightGrayColor()
friendsTableView.tableFooterView = label
}
}
}