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:
@@ -223,12 +223,11 @@
|
||||
}];
|
||||
_videoNode.playerNode.layer.frame = CGRectZero;
|
||||
|
||||
[_videoNode visibileStateDidChange:YES];
|
||||
[_videoNode visibleStateDidChange:YES];
|
||||
|
||||
XCTAssertTrue(_videoNode.shouldBePlaying);
|
||||
}
|
||||
|
||||
|
||||
- (void)testVideoShouldPauseWhenItLeavesVisibleButShouldKnowPlayingShouldRestartLater
|
||||
{
|
||||
_videoNode.asset = _firstAsset;
|
||||
|
||||
Reference in New Issue
Block a user