CXTDT-511155 - VDS_Cancel and Delete CTAs are missing in Edit All Calls and Edit Missed Calls screen

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-01-25 13:35:59 -06:00
parent 1f74c88ce6
commit fef1e0f9ff

View File

@ -237,6 +237,10 @@ open class ThreeLayerTableViewController: ProgrammaticTableViewController, Rotor
// if footer already exists, use the same y location to avoid strange moving animation
let y = tableView.tableFooterView?.frame.minY ?? 0.0
//force footerView to redraw
footerView.setNeedsLayout()
footerView.layoutIfNeeded()
// This extra view is needed because of the wonkiness of apple's table footer. Things breaks if using autolayout.
MVMCoreUIUtility.sizeView(toFit: footerView)
let tableFooterView = UIView(frame: CGRect(x: 0, y: y, width: MVMCoreUIUtility.getWidth(), height: footerView.frame.height))