Skip to content

Commit 1a3a96f

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent 843f9ed commit 1a3a96f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Source/NETworkManager/ProfileDialogManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ public static async Task ShowDeleteGroupDialog(Window parentWindow, IProfileMana
660660
Strings.Delete);
661661

662662
viewModel.OnProfileManagerDialogClose();
663-
663+
664664
if (!result)
665665
return;
666666

Source/NETworkManager/ViewModels/HostsFileEditorViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ private async Task DeleteEntryAction()
396396
string.Format(Strings.DeleteHostsFileEntryMessage, SelectedResult.IPAddress, SelectedResult.Hostname,
397397
string.IsNullOrEmpty(SelectedResult.Comment) ? "" : $"# {SelectedResult.Comment}"),
398398
ChildWindowIcon.Info,
399-
Strings.Delete
399+
Strings.Delete
400400
);
401401

402402

Source/NETworkManager/ViewModels/PortScannerSettingsViewModel.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@ public async Task EditPortProfile()
238238
private async Task DeletePortProfile()
239239
{
240240
var result = await DialogHelper.ShowOKCancelMessageAsync(Application.Current.MainWindow,
241-
Strings.DeletePortProfile,
242-
Strings.DeletePortProfileMessage,
243-
ChildWindowIcon.Info,
244-
Strings.Delete);
241+
Strings.DeletePortProfile,
242+
Strings.DeletePortProfileMessage,
243+
ChildWindowIcon.Info,
244+
Strings.Delete);
245245

246246
if (!result)
247247
return;

Source/NETworkManager/ViewModels/SettingsProfilesViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ await DialogHelper.ShowOKMessageAsync(Application.Current.MainWindow,
366366
// Re-select the profile file
367367
if (string.IsNullOrEmpty(profileName))
368368
return;
369-
369+
370370
SelectedProfileFile = ProfileFiles.Cast<ProfileFileInfo>()
371371
.FirstOrDefault(p => p.Name.Equals(profileName, StringComparison.OrdinalIgnoreCase));
372372
}

0 commit comments

Comments
 (0)