Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. diff --git a/WordPress/Classes/ViewRelated/Notifications/Controllers/NotificationsViewController.swift b/WordPress/Classes/ViewRelated/Notifications/Controllers/NotificationsViewController.swift
  2. index 86324354f..48dbc743d 100644
  3. --- a/WordPress/Classes/ViewRelated/Notifications/Controllers/NotificationsViewController.swift
  4. +++ b/WordPress/Classes/ViewRelated/Notifications/Controllers/NotificationsViewController.swift
  5. @@ -721,6 +721,10 @@ extension NotificationsViewController: WPTableViewHandlerDelegate {
  6. return Notification.classNameWithoutNamespaces()
  7. }
  8.  
  9. + func tableViewWillChangeContent(_ tableView: UITableView) {
  10. + reloadResultsControllerIfNeeded()
  11. + }
  12. +
  13. func tableViewDidChangeContent(_ tableView: UITableView) {
  14. // Due to an UIKit bug, we need to draw our own separators (Issue #2845). Let's update the separator status
  15. // after a DB OP. This loop has been measured in the order of milliseconds (iPad Mini)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement