"Fix" content inset (IOS-241)
This commit is contained in:
parent
6702f0624c
commit
65075c5404
@ -80,6 +80,7 @@ class NotificationPolicyViewController: UIViewController {
|
||||
tableView = UITableView(frame: .zero, style: .insetGrouped)
|
||||
tableView.translatesAutoresizingMaskIntoConstraints = false
|
||||
tableView.register(NotificationPolicyFilterTableViewCell.self, forCellReuseIdentifier: NotificationPolicyFilterTableViewCell.reuseIdentifier)
|
||||
tableView.contentInset.top = -20
|
||||
|
||||
super.init(nibName: nil, bundle: nil)
|
||||
|
||||
@ -168,6 +169,8 @@ class NotificationPolicyViewController: UIViewController {
|
||||
}
|
||||
}
|
||||
|
||||
//MARK: - UITableViewDelegate
|
||||
|
||||
extension NotificationPolicyViewController: UITableViewDelegate {
|
||||
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
|
||||
tableView.deselectRow(at: indexPath, animated: true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user