Commit 72f2c7f1 authored by Felix Paul Kühne's avatar Felix Paul Kühne

web socket: fix invalid VC recycling

(cherry picked from commit a5ae5bae)
parent 846398a5
......@@ -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