fixed bug i produced for top container of base

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-07-21 15:09:15 -05:00
parent 2498a9f3af
commit f90711415f

View File

@ -163,9 +163,8 @@ public class BaseViewController<Component: UIView>: UIViewController, Initable {
open override func viewDidLoad() {
super.viewDidLoad()
view.backgroundColor = .white
// Add the top and bottom views to the stack view
stackView.addArrangedSubview(contentTopView.makeWrapper(edgeSpacing: 16))
stackView.addArrangedSubview(contentTopView.makeWrapper(edgeSpacing: 16, isTrailing: false))
stackView.addArrangedSubview(bottomScrollView)
// Add the stack view to the view controller's view