Skip to content

Commit

Permalink
perf: maskService now support no-argument
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraZiling committed Feb 4, 2024
1 parent 272251c commit 54f3799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/PipManager/Services/Mask/IMaskService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public interface IMaskService

public MaskPresenter GetMaskPresenter();

public void Show(string message);
public void Show(string message="");

public void Hide();
}
2 changes: 1 addition & 1 deletion src/PipManager/Services/Mask/MaskService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public void SetMaskPresenter(MaskPresenter maskPresenter)

public MaskPresenter GetMaskPresenter() => _presenter ?? throw new ArgumentNullException("The MaskPresenter didn't set previously.");

public void Show(string message)
public void Show(string message="")
{
if (_presenter == null || _grid == null)
throw new ArgumentNullException("The MaskPresenter didn't set previously.");
Expand Down

0 comments on commit 54f3799

Please sign in to comment.