Commit 4683c8fa by Daniel Dahan

development: handle nil values set to BasicCard

parent e697f176
......@@ -75,7 +75,6 @@ public class BasicCard : MaterialCard {
t.font = Roboto.mediumWithSize(18)
t.numberOfLines = 1
} else {
titleLabel?.removeFromSuperview()
titleLabelContainer?.removeFromSuperview()
}
}
......@@ -110,7 +109,6 @@ public class BasicCard : MaterialCard {
l.lineBreakMode = .ByWordWrapping
prepareCard()
} else {
detailLabel?.removeFromSuperview()
detailLabelContainer?.removeFromSuperview()
}
}
......
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