Remove caption when creating password
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/WalletNamePageViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/WalletNamePageViewModel.cs
@@ -78,7 +78,7 @@ public partial class WalletNamePageViewModel : RoutableViewModel
private async Task CreatePasswordAsync(string walletName)
{
var dialogResult = await NavigateDialogAsync(
- new CreatePasswordDialogViewModel("Create Password", "Enter a password for your wallet.", enableEmpty: true),
+ new CreatePasswordDialogViewModel("Create Password", enableEmpty: true),
NavigationTarget.CompactDialogScreen);
if (dialogResult.Result is { } password)

MODIFY
WalletWasabi.Fluent/ViewModels/Dialogs/CreatePasswordDialogViewModel.cs
WalletWasabi.Fluent/ViewModels/Dialogs/CreatePasswordDialogViewModel.cs
@@ -13,7 +13,7 @@ public partial class CreatePasswordDialogViewModel : DialogViewModelBase<string?
[AutoNotify] private string? _confirmPassword;
[AutoNotify] private string? _password;
- public CreatePasswordDialogViewModel(string title, string caption, bool enableEmpty = true)
+ public CreatePasswordDialogViewModel(string title, string caption = "", bool enableEmpty = true)
{
Title = title;
Caption = caption;
@@ -55,7 +55,7 @@ public partial class CreatePasswordDialogViewModel : DialogViewModelBase<string?
CancelCommand = ReactiveCommand.Create(() => Close(DialogResultKind.Cancel), cancelCommandCanExecute);
}
- public sealed override string Title { get; protected set; }
+ public override sealed string Title { get; protected set; }
public string Caption { get; }

Remove caption when creating password