mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Corrects naming convention
[iOS] Twitter: Notify about new tweets Reddit: Notify about new posts Default: Notify about new articles + Fixes alignment issues in the inspector view [macOS] Twitter: Show notifications for new tweets Reddit: Show notifications for new posts Default: Show notifications for new articles
This commit is contained in:
@@ -156,7 +156,15 @@ extension WebFeedInspectorViewController {
|
||||
}
|
||||
|
||||
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
|
||||
super.tableView(tableView, cellForRowAt: shift(indexPath))
|
||||
let cell = super.tableView(tableView, cellForRowAt: shift(indexPath))
|
||||
if indexPath.section == 0 && indexPath.row == 1 {
|
||||
guard let label = cell.contentView.subviews.filter({ $0.isKind(of: UILabel.self) })[0] as? UILabel else {
|
||||
return cell
|
||||
}
|
||||
label.numberOfLines = 2
|
||||
label.text = webFeed.notifyNameDisplay.capitalized
|
||||
}
|
||||
return cell
|
||||
}
|
||||
|
||||
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
|
||||
|
||||
Reference in New Issue
Block a user