mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
addressed comments and fixed tests
This commit is contained in:
@@ -46,10 +46,10 @@
|
||||
|
||||
- (instancetype)initWithChildren:(NSArray *)children
|
||||
{
|
||||
self = [super init];
|
||||
if (self) {
|
||||
_children = children;
|
||||
if (!(self = [super init])) {
|
||||
return nil;
|
||||
}
|
||||
_children = children;
|
||||
return self;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user