Skip to content

Commit

Permalink
Add an empty ctor to fix designer
Browse files Browse the repository at this point in the history
  • Loading branch information
Coding-Enthusiast committed Nov 7, 2023
1 parent 3c1edcb commit 877e050
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Src/FinderOuter/ViewModels/MissingMnemonicViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ namespace FinderOuter.ViewModels
{
public class MissingMnemonicViewModel : OptionVmBase
{
/// <summary>
/// Make designer happy!
/// </summary>
public MissingMnemonicViewModel() : this(new Settings())
{
}

public MissingMnemonicViewModel(Settings settings)
{
Result.Settings = settings;
Expand Down Expand Up @@ -74,6 +81,9 @@ public MissingMnemonicViewModel(Settings settings)
private readonly MnemonicSearchSpace searchSpace = new();

private string[] _wl;
/// <summary>
/// Used by AutoCompleteBox in UI
/// </summary>
public string[] WordList
{
get => _wl;
Expand Down

0 comments on commit 877e050

Please sign in to comment.