Code clean

This commit is contained in:
2dust
2024-10-24 17:56:39 +08:00
parent 34f5c0f910
commit 871cb81323
15 changed files with 28 additions and 29 deletions

View File

@@ -321,7 +321,7 @@ namespace v2rayN.Desktop.Views
public async Task ScanScreenTaskAsync()
{
//ShowHideWindow(false);
NoticeHandler.Instance.SendMessageAndEnqueue("Not yet implemented.(还未实现)");
return;
//if (Application.Current?.ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
@@ -332,9 +332,10 @@ namespace v2rayN.Desktop.Views
//ShowHideWindow(true);
}
private async Task ScanImageTaskAsync()
{
var fileName = await UI.OpenFileDialog(this,null );
var fileName = await UI.OpenFileDialog(this, null);
if (fileName.IsNullOrEmpty())
{
return;