Core update. Base core features are done (main app doesn't compile)
Related Work Items: #416, #422, #423, #424
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using FoxTube.Services;
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Windows.Storage;
|
||||
@@ -20,7 +21,7 @@ namespace FoxTube.Models
|
||||
public async Task CommenceDownload(IStreamInfo stream, IStorageFile destination)
|
||||
{
|
||||
Path = destination.Path;
|
||||
YoutubeClient client = new YoutubeClient(UserManagement.Service.HttpClient);
|
||||
YoutubeClient client = new YoutubeClient(UserService.Service.HttpClient);
|
||||
|
||||
State = DownloadState.Downloading;
|
||||
Task task = client.Videos.Streams.DownloadAsync(stream, Path, DownloadPercentage, CTS.Token);
|
||||
|
||||
Reference in New Issue
Block a user