mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-21 05:39:01 +00:00
Revert setting isMutable to true in ASLayoutSpecSnapshotTestHelper
This commit is contained in:
parent
ed4f7eff73
commit
acc080ab9c
@ -56,10 +56,6 @@
|
|||||||
|
|
||||||
- (ASLayoutSpec *)layoutSpecThatFits:(ASSizeRange)constrainedSize
|
- (ASLayoutSpec *)layoutSpecThatFits:(ASSizeRange)constrainedSize
|
||||||
{
|
{
|
||||||
// As the layout spec under test can be used multiple times we set the isMutable to NO in here. This should only
|
|
||||||
// be done in tests and never in production codes
|
|
||||||
_layoutSpecUnderTest.isMutable = YES;
|
|
||||||
|
|
||||||
return _layoutSpecUnderTest;
|
return _layoutSpecUnderTest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user