Преглед на файлове

VLCDownloadViewController: fix not visible downloads from local network

Carola Nitz преди 7 години
родител
ревизия
faf5922e4a
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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;