Commit faf5922e authored by Carola Nitz's avatar Carola Nitz

VLCDownloadViewController: fix not visible downloads from local network

parent 60bfba5f
......@@ -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;
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