updated defaults in reset
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
cf4f145137
commit
51c8a8059f
@ -232,26 +232,29 @@ public class Notification: View {
|
||||
super.reset()
|
||||
|
||||
titleLabel.reset()
|
||||
titleLabel.textStyle = .boldBodyLarge
|
||||
titleLabel.text = ""
|
||||
titleLabel.textStyle = UIDevice.isIPad ? .boldBodyLarge : .boldBodySmall
|
||||
|
||||
subTitleLabel.reset()
|
||||
subTitleLabel.textStyle = .bodyLarge
|
||||
subTitleLabel.textStyle = UIDevice.isIPad ? .bodyLarge : .bodySmall
|
||||
|
||||
buttonsView.reset()
|
||||
buttonsView.buttonPosition = .left
|
||||
|
||||
primaryButton.reset()
|
||||
secondaryButton.reset()
|
||||
primaryButtonModel = nil
|
||||
secondaryButtonModel = nil
|
||||
|
||||
type = .info
|
||||
typeIcon.size = .medium
|
||||
typeIcon.size = UIDevice.isIPad ? .medium : .small
|
||||
typeIcon.name = .infoBold
|
||||
|
||||
closeButton.size = .medium
|
||||
onCloseClick = nil
|
||||
closeButton.size = UIDevice.isIPad ? .medium : .small
|
||||
closeButton.name = .close
|
||||
|
||||
layout = .vertical
|
||||
hideCloseButton = false
|
||||
fullBleed = false
|
||||
}
|
||||
|
||||
//--------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user