Archived
1
0

Core update. Base core features are done (main app doesn't compile)

Related Work Items: #416, #422, #423, #424
This commit is contained in:
Michael Gordeev
2020-06-11 21:17:18 +03:00
parent b3212738e8
commit c58d846057
18 changed files with 386 additions and 281 deletions
+3 -2
View File
@@ -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);