Skip to content

Commit

Permalink
Fix ArgumentException in RefreshCommand is passed a null parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
CodingOctocat committed Dec 6, 2023
1 parent 9a78312 commit 8f57f97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPConfig/ViewModels/NicViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected override void OnActivated()
base.OnActivated();

Messenger.Register<NicViewModel, RefreshMessage>(this,
(r, m) => RefreshCommand.Execute(null));
(r, m) => RefreshCommand.Execute(true));

Messenger.Register<NicViewModel, GoBackMessage>(this,
(r, m) => GoBack());
Expand Down

0 comments on commit 8f57f97

Please sign in to comment.