Commit 5ca3334d authored by Carola's avatar Carola
Browse files

cloudStorage: show and hide toolbar correctly (close #10037)

parent fc2ebac7
......@@ -337,6 +337,11 @@
UINavigationController *navCon = nil;
if ([_revealController.contentViewController isKindOfClass:[UINavigationController class]]) {
navCon = (UINavigationController*)_revealController.contentViewController;
for (UIViewController *vc in navCon.viewControllers) {
//send viewWillDisappear while vc still has a navigationcontroller
if ([vc isKindOfClass:[VLCCloudStorageTableViewController class]])
[vc viewWillDisappear:NO];
}
navCon.viewControllers = @[viewController];
} else {
navCon = [[UINavigationController alloc] initWithRootViewController:viewController];
......
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