Explorar o código

VLCDownloadViewController: fix not visible downloads from local network

Carola Nitz %!s(int64=7) %!d(string=hai) anos
pai
achega
faf5922e4a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;