Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MaKrotos committed Apr 5, 2024
1 parent 94c9948 commit 72f8c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VK UI3/Views/Download/DownloadFFmpegController.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ private void DownloadFileWithProgress_ProgressChanged(object sender, System.Net.
{
this.DispatcherQueue.TryEnqueue(() =>
{
int progressPercentage = e.ProgressPercentage; // Ïðîãðåññ â ïðîöåíòàõ
int progressPercentage = e.ProgressPercentage; // Прогресс в процентах
DownloadProgressBar.Value = progressPercentage;
pathText.Text = $"Çàãðóæåíî: {Math.Round((double)e.BytesReceived / (1024 * 1024))} Ìá èç {Math.Round((double)(sender as DownloadFileWithProgress).mb)} Ìá ";
pathText.Text = $"Загружено: {Math.Round((double)e.BytesReceived / (1024 * 1024))} Мб из {Math.Round((double)(sender as DownloadFileWithProgress).mb)} Мб ";
});
}

Expand Down

0 comments on commit 72f8c20

Please sign in to comment.