Commit b55f7791 by Adam Dahan

put material color

parent 79a565bf
...@@ -51,6 +51,7 @@ public class MaterialTableViewCell: UITableViewCell { ...@@ -51,6 +51,7 @@ public class MaterialTableViewCell: UITableViewCell {
*/ */
public func prepare() { public func prepare() {
selectionStyle = .None selectionStyle = .None
imageView?.userInteractionEnabled = false
textLabel?.userInteractionEnabled = false textLabel?.userInteractionEnabled = false
detailTextLabel?.userInteractionEnabled = false detailTextLabel?.userInteractionEnabled = false
} }
...@@ -59,7 +60,7 @@ public class MaterialTableViewCell: UITableViewCell { ...@@ -59,7 +60,7 @@ public class MaterialTableViewCell: UITableViewCell {
:name: preparePulseView :name: preparePulseView
*/ */
public func preparePulseView() { public func preparePulseView() {
pulseView.pulseColor = MaterialColor.deepPurple.darken1.colorWithAlphaComponent(0.2) pulseView.pulseColor = MaterialColor.red.darken1.colorWithAlphaComponent(0.2)
contentView.addSubview(pulseView) contentView.addSubview(pulseView)
} }
......
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