File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,9 +139,9 @@ - (void)setSecondViewAttribute:(id)secondViewAttribute {
139
139
if ([self .firstViewAttribute.item isKindOfClass: MASLayoutGuide.class]) {
140
140
_secondViewAttribute = [[MASViewAttribute alloc ] initWithView: self .firstViewAttribute.view
141
141
layoutAttribute: self .firstViewAttribute.layoutAttribute];
142
- } else {
143
- [self setLayoutConstantWithValue: secondViewAttribute];
144
142
}
143
+
144
+ [self setLayoutConstantWithValue: secondViewAttribute];
145
145
} else if ([secondViewAttribute isKindOfClass: MAS_VIEW.class]) {
146
146
_secondViewAttribute = [[MASViewAttribute alloc ] initWithView: secondViewAttribute layoutAttribute: self .firstViewAttribute.layoutAttribute];
147
147
} else if ([secondViewAttribute isKindOfClass: MASViewAttribute.class]) {
You can’t perform that action at this time.
0 commit comments