added default value

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2022-06-21 15:47:14 -05:00
parent d90503e988
commit 93d23d620d

View File

@ -77,7 +77,7 @@ public protocol SectionListHeaderFooterModel { }
// MARK: - Initializer
//--------------------------------------------------
public init(with sections: [SectionModel], pageType: String, screenHeading: String?, molecules: [ListItemModelProtocol & MoleculeModelProtocol]) {
public init(with sections: [SectionModel], pageType: String, molecules: [ListItemModelProtocol & MoleculeModelProtocol], screenHeading: String? = nil) {
self.sections = sections
super.init(pageType: pageType, screenHeading: screenHeading, molecules: molecules)
}