Skip to content

Commit 8786d28

Browse files
authored
Update MainWindow.xaml.cs
1 parent 34b706c commit 8786d28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MainWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ private async Task DownloadFileFromYandexDisk(string publicUrl, string outputPat
156156
int progress = (int)(totalRead * 100 / totalBytes);
157157
Dispatcher.Invoke(() => progressBar.Value = progress);
158158
}
159-
} // Файл закрывается автоматически
159+
}
160160
}
161161
else
162162
{
@@ -216,7 +216,7 @@ private void WaitForFileRelease(string filePath)
216216
{
217217
using (FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read, FileShare.None))
218218
{
219-
return; // Файл доступен
219+
return;
220220
}
221221
}
222222
catch (IOException)

0 commit comments

Comments
 (0)