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:
commit
1d3d97757c
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user