Browse Source

VLCDownloadViewController: fix not visible downloads from local network

Carola Nitz 7 years ago
parent
commit
faf5922e4a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Sources/VLCDownloadViewController.m

+ 1 - 0
Sources/VLCDownloadViewController.m

@@ -170,6 +170,7 @@ typedef NS_ENUM(NSUInteger, VLCDownloadScheme) {
     _currentDownloadType = VLCDownloadSchemeHTTP;
     _currentDownloadType = VLCDownloadSchemeHTTP;
     if (![_currentDownloadFilename.firstObject isEqualToString:@""]) {
     if (![_currentDownloadFilename.firstObject isEqualToString:@""]) {
         _humanReadableFilename = [[_currentDownloadFilename firstObject] stringByRemovingPercentEncoding];
         _humanReadableFilename = [[_currentDownloadFilename firstObject] stringByRemovingPercentEncoding];
+        [self.httpDownloader downloadFileFromURL:_currentDownloads.firstObject withFileName:_humanReadableFilename];
     } else {
     } else {
         [self.httpDownloader downloadFileFromURL:_currentDownloads.firstObject];
         [self.httpDownloader downloadFileFromURL:_currentDownloads.firstObject];
         _humanReadableFilename = self.httpDownloader.userReadableDownloadName;
         _humanReadableFilename = self.httpDownloader.userReadableDownloadName;