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()
|
styleStandard()
|
||||||
case "header":
|
case "header":
|
||||||
styleHeader()
|
styleHeader()
|
||||||
|
case "sectionFooter":
|
||||||
|
styleFooter()
|
||||||
case "none":
|
case "none":
|
||||||
styleNone()
|
styleNone()
|
||||||
default: break
|
default: break
|
||||||
@ -68,6 +70,13 @@ import UIKit
|
|||||||
bottomSeparatorView?.style = .thin
|
bottomSeparatorView?.style = .thin
|
||||||
}
|
}
|
||||||
|
|
||||||
|
open func styleFooter() {
|
||||||
|
topMarginPadding = 24
|
||||||
|
bottomMarginPadding = 0
|
||||||
|
topSeparatorView?.style = .none
|
||||||
|
bottomSeparatorView?.style = .none
|
||||||
|
}
|
||||||
|
|
||||||
open func styleNone() {
|
open func styleNone() {
|
||||||
topMarginPadding = 0
|
topMarginPadding = 0
|
||||||
bottomMarginPadding = 0
|
bottomMarginPadding = 0
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user