Merge branch 'feature/add_sectionFooter_style_in_listItem' into 'develop'

Adding new style sectionFooter for listItem molecule.

See merge request BPHV_MIPS/mvm_core_ui!204
This commit is contained in:
Pan, Xinlei (Ryan) 2019-12-19 10:14:17 -05:00
commit 1d3d97757c

View File

@ -48,6 +48,8 @@ import UIKit
styleStandard()
case "header":
styleHeader()
case "sectionFooter":
styleFooter()
case "none":
styleNone()
default: break
@ -68,6 +70,13 @@ import UIKit
bottomSeparatorView?.style = .thin
}
open func styleFooter() {
topMarginPadding = 24
bottomMarginPadding = 0
topSeparatorView?.style = .none
bottomSeparatorView?.style = .none
}
open func styleNone() {
topMarginPadding = 0
bottomMarginPadding = 0