Skip to content

Commit 00b6099

Browse files
committed
csharpier
1 parent 9a9616d commit 00b6099

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

YMouseButtonControl.Core/ViewModels/ProfilesList/ProcessSelectorDialogViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,6 @@ public ProcessModel? SelectedProcessModel
119119
set => this.RaiseAndSetIfChanged(ref _processModel, value);
120120
}
121121

122-
private void RefreshProcessList() => _sourceProcessModels.EditDiff(_processMonitorService.GetProcesses());
122+
private void RefreshProcessList() =>
123+
_sourceProcessModels.EditDiff(_processMonitorService.GetProcesses());
123124
}

YMouseButtonControl.Linux/Services/ProcessMonitorService.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ public IEnumerable<ProcessModel> GetProcesses() =>
99
Process
1010
.GetProcesses()
1111
.Select(x => new ProcessModel(x))
12-
.Where(x => !string.IsNullOrWhiteSpace(x.Process.MainModule?.ModuleName) && !string.IsNullOrWhiteSpace(x.Process.ProcessName));
12+
.Where(x =>
13+
!string.IsNullOrWhiteSpace(x.Process.MainModule?.ModuleName)
14+
&& !string.IsNullOrWhiteSpace(x.Process.ProcessName)
15+
);
1316
}

0 commit comments

Comments
 (0)