MOBFIRST-19249 : List Item Style Updates

Adding shortDivider and tallDivider style.
Removing header style.
This commit is contained in:
Khan, Arshad 2020-01-03 19:52:10 +05:30
parent 767ee787cb
commit c4fbf57890

View File

@ -47,8 +47,10 @@ import UIKit
switch styleString {
case "standard":
styleStandard()
case "header":
styleHeader()
case "shortDivider":
styleShortDivider()
case "tallDivider":
styleTallDivider()
case "sectionFooter":
styleFooter()
case "none":
@ -64,11 +66,18 @@ import UIKit
bottomSeparatorView?.style = .standard
}
open func styleHeader() {
open func styleTallDivider() {
topMarginPadding = 48
bottomMarginPadding = 16
topSeparatorView?.style = .none
bottomSeparatorView?.style = .thin
bottomSeparatorView?.style = .standard
}
open func styleShortDivider() {
topMarginPadding = 32
bottomMarginPadding = 16
topSeparatorView?.style = .none
bottomSeparatorView?.style = .standard
}
open func styleFooter() {