Commit dc553e4a by Daniel Dahan

updated pulseView defaults

parent aa5b61e9
...@@ -94,7 +94,7 @@ public class MaterialPulseView: MaterialView { ...@@ -94,7 +94,7 @@ public class MaterialPulseView: MaterialView {
super.prepareView() super.prepareView()
userInteractionEnabled = MaterialTheme.pulseView.userInteractionEnabled userInteractionEnabled = MaterialTheme.pulseView.userInteractionEnabled
backgroundColor = MaterialTheme.pulseView.backgroudColor backgroundColor = MaterialTheme.pulseView.backgroudColor
pulseColor = MaterialColor.white pulseColor = MaterialTheme.pulseView.pulseColor
} }
// //
......
...@@ -78,7 +78,7 @@ public extension MaterialTheme.pulseView { ...@@ -78,7 +78,7 @@ public extension MaterialTheme.pulseView {
public static let shadowColor: UIColor = MaterialTheme.view.shadowColor public static let shadowColor: UIColor = MaterialTheme.view.shadowColor
// shape // shape
public static let masksToBounds: Bool = MaterialTheme.view.masksToBounds public static let masksToBounds: Bool = true
public static let cornerRadius: MaterialRadius = MaterialTheme.view.cornerRadius public static let cornerRadius: MaterialRadius = MaterialTheme.view.cornerRadius
// border // border
...@@ -87,6 +87,7 @@ public extension MaterialTheme.pulseView { ...@@ -87,6 +87,7 @@ public extension MaterialTheme.pulseView {
// color // color
public static let backgroudColor: UIColor = MaterialColor.clear public static let backgroudColor: UIColor = MaterialColor.clear
public static let pulseColor: UIColor = MaterialColor.white
// interaction // interaction
public static let userInteractionEnabled: Bool = MaterialTheme.view.userInteractionEnabled public static let userInteractionEnabled: Bool = MaterialTheme.view.userInteractionEnabled
......
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