mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-01 12:17:53 +00:00
spelling
This commit is contained in:
parent
b14e189bfb
commit
2e3d59a73e
@ -23,7 +23,7 @@
|
||||
- (void)setValuesFromLayoutable:(id<ASLayoutable>)layoutable;
|
||||
|
||||
#pragma mark - Subclasses should implement these!
|
||||
- (void)propogateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions;
|
||||
- (void)propagateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions;
|
||||
|
||||
#pragma mark - ASStackLayoutable
|
||||
|
||||
|
||||
@ -86,11 +86,11 @@ static Class gDefaultLayoutOptionsClass = nil;
|
||||
- (id)copyWithZone:(NSZone *)zone
|
||||
{
|
||||
ASLayoutOptions *copy = [[[self class] alloc] init];
|
||||
[copy propogateOptionsFromLayoutOptions:self];
|
||||
[copy propagateOptionsFromLayoutOptions:self];
|
||||
return copy;
|
||||
}
|
||||
|
||||
- (void)propogateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions
|
||||
- (void)propagateOptionsFromLayoutOptions:(ASLayoutOptions *)layoutOptions
|
||||
{
|
||||
ASDN::MutexLocker l(_propertyLock);
|
||||
self.flexBasis = layoutOptions.flexBasis;
|
||||
|
||||
@ -82,7 +82,7 @@ static NSString * const kDefaultChildrenKey = @"kDefaultChildrenKey";
|
||||
|
||||
id<ASLayoutable> finalLayoutable = [child finalLayoutable];
|
||||
if (finalLayoutable != child) {
|
||||
[finalLayoutable.layoutOptions propogateOptionsFromLayoutOptions:child.layoutOptions];
|
||||
[finalLayoutable.layoutOptions propagateOptionsFromLayoutOptions:child.layoutOptions];
|
||||
return finalLayoutable;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user