@@ -117,8 +117,13 @@ extension NewsController: UITableViewDataSource
117117
118118 func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
119119 {
120− let view = tableView.dequeueReusableCell(withIdentifier: headerNewsChannelsVC) as! HeaderNewsChannels
121− view.vc = self
120+ let cell = tableView.dequeueReusableCell(withIdentifier: headerNewsChannelsVC) as! HeaderNewsChannels
121+ cell.vc = self
122+
123+ let view = UIView(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 46.0))
124+ view.addSubview(cell)
125+ cell.edgesToSuperview()
126+
122127 return view
123128 }
124129}