Signed-off-by: Matt Bruce <matt.bruce@verizon.com>

This commit is contained in:
Matt Bruce 2024-04-17 15:49:44 -05:00
parent 34e92fa230
commit 63b6bbd4c3

View File

@ -202,7 +202,6 @@ class TileletViewController: BaseViewController<Tilelet> {
override func viewDidLoad() {
super.viewDidLoad()
addContentTopView(view: .makeWrapper(for: component))
setupPicker()
setupModel()
}
@ -357,8 +356,6 @@ class TileletViewController: BaseViewController<Tilelet> {
showBackgroundImageSwitch.onChange = { [weak self] sender in
if let image = self?.backgroundImage, sender.isOn {
self?.component.backgroundImage = image
if self?.component.width == nil {
}
} else {
self?.component.backgroundImage = nil
}
@ -383,7 +380,7 @@ class TileletViewController: BaseViewController<Tilelet> {
func setupModel() {
let titleModel = Tilelet.TitleModel(text: "Save $XX on your monthly bill.")
let subTitleModel = Tilelet.SubTitleModel(text: "Enroll in Auto Pay & paper-free billing to save on your monthly bill.")
component.color = .black
component.surface = .light
component.titleModel = titleModel
component.subTitleModel = subTitleModel