Merge pull request #331 from James-Sangalli/fix-strange-scrolling-effect-when-tap-on-ticket-list

Fix: strange scrolling effect in screens with ticket list after tapping on ticket row
pull/335/head
James Sangalli 7 years ago committed by GitHub
commit 90874a5a85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Trust/Redeem/ViewControllers/RedeemTicketsViewController.swift
  2. 4
      Trust/Sell/ViewControllers/SellTicketsViewController.swift
  3. 4
      Trust/Tokens/ViewControllers/TicketsViewController.swift
  4. 4
      Trust/Transfer/ViewControllers/TransferTicketsViewController.swift

@ -108,9 +108,7 @@ class RedeemTicketsViewController: UIViewController {
}
private func animateRowHeightChanges(for indexPaths: [IndexPath], in tableview: UITableView) {
tableView.reloadRows(at: indexPaths, with: .automatic)
tableView.beginUpdates()
tableView.endUpdates()
tableView.reloadData()
}
}

@ -104,9 +104,7 @@ class SellTicketsViewController: UIViewController {
}
private func animateRowHeightChanges(for indexPaths: [IndexPath], in tableview: UITableView) {
tableView.reloadRows(at: indexPaths, with: .automatic)
tableView.beginUpdates()
tableView.endUpdates()
tableView.reloadData()
}
}

@ -172,9 +172,7 @@ class TicketsViewController: UIViewController {
}
private func animateRowHeightChanges(for indexPaths: [IndexPath], in tableview: UITableView) {
tableView.reloadRows(at: indexPaths, with: .automatic)
tableView.beginUpdates()
tableView.endUpdates()
tableView.reloadData()
}
}

@ -104,9 +104,7 @@ class TransferTicketsViewController: UIViewController {
}
private func animateRowHeightChanges(for indexPaths: [IndexPath], in tableview: UITableView) {
tableView.reloadRows(at: indexPaths, with: .automatic)
tableView.beginUpdates()
tableView.endUpdates()
tableView.reloadData()
}
}

Loading…
Cancel
Save