Ver código fonte

VLCDownloadViewController: fix not visible downloads from local network

Carola Nitz 7 anos atrás
pai
commit
faf5922e4a
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      Sources/VLCDownloadViewController.m

+ 1 - 0
Sources/VLCDownloadViewController.m

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