comment update

This commit is contained in:
Pfeil, Scott Robert 2020-07-28 10:47:52 -04:00
parent e236e9c3a5
commit 02ab457c1a

View File

@ -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)