Commit 482b4ce0 by Daniel Dahan

added frame to init

parent 6694bd55
...@@ -370,7 +370,7 @@ public class BasicCardView : MaterialCardView, Comparable { ...@@ -370,7 +370,7 @@ public class BasicCardView : MaterialCardView, Comparable {
:name: init :name: init
*/ */
public required init(frame: CGRect) { public required init(frame: CGRect) {
super.init(frame: CGRectZero) super.init(frame: frame)
} }
/** /**
......
...@@ -481,7 +481,7 @@ public class ImageCardView : MaterialCardView, Comparable { ...@@ -481,7 +481,7 @@ public class ImageCardView : MaterialCardView, Comparable {
:name: init :name: init
*/ */
public required init(frame: CGRect) { public required init(frame: CGRect) {
super.init(frame: CGRectZero) super.init(frame: frame)
} }
/** /**
......
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