Re order file.
MODIFY
WalletWasabi.Fluent/ViewModels/RecoverWalletPageViewModel.cs
WalletWasabi.Fluent/ViewModels/RecoverWalletPageViewModel.cs
@@ -17,20 +17,6 @@ namespace WalletWasabi.Fluent.ViewModels
private IEnumerable<string>? _suggestions;
private string? _selectedTag;
- public ObservableCollection<string> Mnemonics { get; } = new ObservableCollection<string>();
-
- public IEnumerable<string>? Suggestions
- {
- get => _suggestions;
- set => this.RaiseAndSetIfChanged(ref _suggestions, value);
- }
-
- public string? SelectedTag
- {
- get => _selectedTag;
- set => this.RaiseAndSetIfChanged(ref _selectedTag, value);
- }
-
public RecoveryPageViewModel(IScreen screen) : base(screen)
{
Suggestions = new Mnemonic(Wordlist.English, WordCount.Twelve).WordList.GetWords();
@@ -49,6 +35,20 @@ namespace WalletWasabi.Fluent.ViewModels
this.ValidateProperty(x => x.Mnemonics, ValidateMnemonics);
}
+ public ObservableCollection<string> Mnemonics { get; } = new ObservableCollection<string>();
+
+ public IEnumerable<string>? Suggestions
+ {
+ get => _suggestions;
+ set => this.RaiseAndSetIfChanged(ref _suggestions, value);
+ }
+
+ public string? SelectedTag
+ {
+ get => _selectedTag;
+ set => this.RaiseAndSetIfChanged(ref _selectedTag, value);
+ }
+
private void ValidateMnemonics(IValidationErrors errors)
{
if (CurrentMnemonics is { } && !CurrentMnemonics.IsValidChecksum)

Re order file.