mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Remove styleClass property from ASLayoutable for now (#2279)
This commit is contained in:
committed by
GitHub
parent
75dca556e6
commit
9f55de2c6c
@@ -59,7 +59,7 @@ typedef std::map<unsigned long, id<ASLayoutable>, std::less<unsigned long>> ASCh
|
||||
|
||||
_isMutable = YES;
|
||||
_environmentState = ASEnvironmentStateMakeDefault();
|
||||
_style = [[[[self class] styleClass] alloc] init];
|
||||
_style = [[ASLayoutableStyle alloc] init];
|
||||
|
||||
return self;
|
||||
}
|
||||
@@ -76,11 +76,6 @@ typedef std::map<unsigned long, id<ASLayoutable>, std::less<unsigned long>> ASCh
|
||||
|
||||
#pragma mark - Style
|
||||
|
||||
+ (Class)styleClass
|
||||
{
|
||||
return [ASLayoutableStyle class];
|
||||
}
|
||||
|
||||
- (ASLayoutableStyle *)style
|
||||
{
|
||||
ASDN::MutexLocker l(__instanceLock__);
|
||||
|
||||
Reference in New Issue
Block a user