Merge branch 'feature/atomic_vds_buttonGroup' into feature/vds_batch_two

This commit is contained in:
Matt Bruce 2024-01-25 13:36:38 -06:00
commit 5164a91ad6

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))