comment update
This commit is contained in:
parent
e236e9c3a5
commit
02ab457c1a
@ -61,10 +61,7 @@ import Foundation
|
||||
|
||||
/// Convenience function to set common values based on style. We default to standard if not set.
|
||||
open func setByStyle() {
|
||||
guard let style = style else {
|
||||
set(topPadding: Padding.Component.VerticalMarginSpacing, bottomPadding: Padding.Component.VerticalMarginSpacing)
|
||||
return
|
||||
}
|
||||
let style = self.style ?? .standard
|
||||
switch style {
|
||||
case .standard:
|
||||
set(topPadding: Padding.Component.VerticalMarginSpacing, bottomPadding: Padding.Component.VerticalMarginSpacing)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user