Commit 0e02f6ca by Orkhan Alikhanov

Removed SwitchStyle

parent ee983025
...@@ -30,12 +30,6 @@ ...@@ -30,12 +30,6 @@
import UIKit import UIKit
@objc(SwitchStyle)
public enum SwitchStyle: Int {
case light
case dark
}
@objc(SwitchState) @objc(SwitchState)
public enum SwitchState: Int { public enum SwitchState: Int {
case on case on
...@@ -261,7 +255,7 @@ open class Switch: UIControl, Themeable { ...@@ -261,7 +255,7 @@ open class Switch: UIControl, Themeable {
- Parameter style: A SwitchStyle value. - Parameter style: A SwitchStyle value.
- Parameter size: A SwitchSize value. - Parameter size: A SwitchSize value.
*/ */
public init(state: SwitchState = .off, style: SwitchStyle = .dark, size: SwitchSize = .medium) { public init(state: SwitchState = .off, size: SwitchSize = .medium) {
track = UIView() track = UIView()
button = FABButton() button = FABButton()
super.init(frame: .zero) super.init(frame: .zero)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment