Commit 482b4ce0 by Daniel Dahan

added frame to init

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