mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
fixed typo and added backwards compatibility for 'visibilityDidChange'
This commit is contained in:
@@ -278,11 +278,11 @@ static const CGSize kMinReleaseImageOnBackgroundSize = {20.0, 20.0};
|
||||
}
|
||||
}
|
||||
|
||||
/* visibilityDidChange in ASMultiplexImageNode has a very similar implementation. Changes here are likely necessary
|
||||
/* visibileStateDidChange in ASMultiplexImageNode has a very similar implementation. Changes here are likely necessary
|
||||
in ASMultiplexImageNode as well. */
|
||||
- (void)visibileStateDidChange:(BOOL)isVisible
|
||||
- (void)visibleStateDidChange:(BOOL)isVisible
|
||||
{
|
||||
[super visibileStateDidChange:isVisible];
|
||||
[super visibleStateDidChange:isVisible];
|
||||
|
||||
if (_downloaderImplementsSetPriority) {
|
||||
_lock.lock();
|
||||
|
||||
Reference in New Issue
Block a user