comment
This commit is contained in:
parent
cac7180be5
commit
2984a1e05c
@ -57,9 +57,10 @@ import Foundation
|
||||
bottomView.set(with: model, delegateObject, additionalData)
|
||||
|
||||
// Update top view default noop to expand.
|
||||
if model.topAction?.actionType == ActionNoopModel.identifier {
|
||||
if let topAction = model.topAction,
|
||||
topAction.actionType == ActionNoopModel.identifier {
|
||||
topView.button.addActionBlock(event: .touchUpInside) { [weak self] (button) in
|
||||
Button.performButtonAction(with: model.topAction!, button: button, delegateObject: delegateObject, additionalData: additionalData)
|
||||
Button.performButtonAction(with: topAction, button: button, delegateObject: delegateObject, additionalData: additionalData)
|
||||
self?.expand(topViewShowing: model.alwaysShowTopLabel)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user