We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2391bc9 commit e746f57Copy full SHA for e746f57
Mage/ObservationImportantView.swift
@@ -12,9 +12,14 @@ import PureLayout
12
class ObservationImportantView: UIView {
13
weak var observation: Observation?;
14
var scheme: MDCContainerScheming?;
15
- var reasonLabel: UILabel = UILabel(forAutoLayout: ());
16
var flaggedByLabel: UILabel = UILabel(forAutoLayout: ());
17
+ private lazy var reasonLabel: UILabel = {
18
+ var reasonLabel: UILabel = UILabel(forAutoLayout: ());
19
+ reasonLabel.numberOfLines = 0;
20
+ return reasonLabel;
21
+ }()
22
+
23
private lazy var flagImage: UIImageView = {
24
let flag = UIImage(named: "flag");
25
let flagView = UIImageView(image: flag);
0 commit comments