Merge pull request #1048 from blink22/fix/partial-swipe-black-screen

Fix partial swipe on video in fullscreen shows a black screen
This commit is contained in:
Hampton Maxwell 2018-06-03 20:54:04 -07:00 committed by GitHub
commit 7882d5cf66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,12 +9,8 @@
- (void)viewDidDisappear:(BOOL)animated - (void)viewDidDisappear:(BOOL)animated
{ {
[super viewDidDisappear:animated]; [super viewDidDisappear:animated];
[_rctDelegate videoPlayerViewControllerWillDismiss:self];
[_rctDelegate videoPlayerViewControllerDidDismiss:self]; [_rctDelegate videoPlayerViewControllerDidDismiss:self];
} }
- (void)viewWillDisappear:(BOOL)animated {
[_rctDelegate videoPlayerViewControllerWillDismiss:self];
[super viewWillDisappear:animated];
}
@end @end