Commit a5ae5bae authored by Felix Paul Kühne's avatar Felix Paul Kühne

web socket: fix invalid VC recycling

parent a7af6cd1
......@@ -356,14 +356,10 @@
[ubiquitousKeyValueStore setArray:recentURLs forKey:kVLCRecentURLs];
[mediaList addMedia:[VLCMedia mediaWithURL:[NSURL URLWithString:urlString]]];
if (needsMediaList) {
[vpc playMediaList:mediaList firstIndex:0];
}
VLCFullscreenMovieTVViewController *movieVC = [VLCFullscreenMovieTVViewController fullscreenMovieTVViewController];
if (![movieVC isBeingPresented]) {
VLCFullscreenMovieTVViewController *movieVC = [VLCFullscreenMovieTVViewController fullscreenMovieTVViewController];
if ([[[UIApplication sharedApplication].delegate.window rootViewController] presentedViewController] != nil) {
[[[[UIApplication sharedApplication].delegate.window rootViewController] presentedViewController] presentViewController:movieVC
animated:NO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment