fix prod break defect
This commit is contained in:
parent
8842ca8113
commit
c5f8d27636
@ -309,10 +309,14 @@
|
|||||||
}
|
}
|
||||||
[MFStyler setDefaultMarginsForView:self size:size horizontal:self.updateViewHorizontalDefaults vertical:self.updateViewVerticalDefaults];
|
[MFStyler setDefaultMarginsForView:self size:size horizontal:self.updateViewHorizontalDefaults vertical:self.updateViewVerticalDefaults];
|
||||||
UIEdgeInsets margins = [MVMCoreUIUtility getMarginsForView:self];
|
UIEdgeInsets margins = [MVMCoreUIUtility getMarginsForView:self];
|
||||||
[self setLeftPinConstant:margins.left];
|
if (self.updateViewHorizontalDefaults) {
|
||||||
[self setRightPinConstant:margins.right];
|
[self setLeftPinConstant:margins.left];
|
||||||
[self setTopPinConstant:margins.top];
|
[self setRightPinConstant:margins.right];
|
||||||
[self setBottomPinConstant:margins.bottom];
|
}
|
||||||
|
if (self.updateViewVerticalDefaults) {
|
||||||
|
[self setTopPinConstant:margins.top];
|
||||||
|
[self setBottomPinConstant:margins.bottom];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - MVMCoreUIMoleculeViewProtocol
|
#pragma mark - MVMCoreUIMoleculeViewProtocol
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user