@@ -117,8 +117,13 @@ extension NewsController: UITableViewDataSource
118 func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
118 func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
120− let view = tableView.dequeueReusableCell(withIdentifier: headerNewsChannelsVC) as! HeaderNewsChannels
120+ let cell = tableView.dequeueReusableCell(withIdentifier: headerNewsChannelsVC) as! HeaderNewsChannels
121− view.vc = self
121+ cell.vc = self
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()
122 return view
127 return view