added default value
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
d90503e988
commit
93d23d620d
@ -77,7 +77,7 @@ public protocol SectionListHeaderFooterModel { }
|
|||||||
// MARK: - Initializer
|
// 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
|
self.sections = sections
|
||||||
super.init(pageType: pageType, screenHeading: screenHeading, molecules: molecules)
|
super.init(pageType: pageType, screenHeading: screenHeading, molecules: molecules)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user