Commit 61687d2f authored by Felix Paul Kühne's avatar Felix Paul Kühne

collaps add media view controller when download is complete, if the user hasn't already done so

parent d0a916dd
......@@ -28,6 +28,7 @@
@property (strong, nonatomic) IBOutlet UITextField *openURLField;
@property (strong, nonatomic) IBOutlet UIButton *openURLButton;
- (IBAction)dismiss:(id)sender;
- (IBAction)openAboutPanel:(id)sender;
- (IBAction)openNetworkStream:(id)sender;
- (IBAction)downloadFromHTTPServer:(id)sender;
......@@ -85,12 +85,16 @@
VLCAppDelegate * appDelegate = [UIApplication sharedApplication].delegate;
[appDelegate updateMediaList];
[_mediaViewController dismiss:nil];
-(void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {
APLog(@"http file download failed (%i)", error.code);
_downloadInProgress = NO;
_progressIndicator.hidden = YES;
[_mediaViewController dismiss:nil];
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