This commit is contained in:
Pfeil, Scott Robert 2020-09-24 16:29:25 -04:00
parent c3040c24d3
commit ddd30a0f26

View File

@ -19,8 +19,11 @@ public class NavigationItemModel: NavigationItemModelProtocol, MoleculeModelProt
public var tintColor: Color
public var line: LineModel?
public var hidesSystemBackButton = true
/// If true, we add the button in the backButton property. If false we do not add the button. If nil, we add the button if the controller is not the bottom of the stack
public var alwaysShowBackButton: Bool?
public var backButton: (NavigationButtonModelProtocol & MoleculeModelProtocol)?
public var additionalLeftButtons: [(NavigationButtonModelProtocol & MoleculeModelProtocol)]?
public var additionalRightButtons: [(NavigationButtonModelProtocol & MoleculeModelProtocol)]?
public var titleView: MoleculeModelProtocol?