Remove redundant caption and label - Wallet Name
MODIFY
WalletWasabi.Fluent/ViewModels/AddWallet/WalletNamePageViewModel.cs
WalletWasabi.Fluent/ViewModels/AddWallet/WalletNamePageViewModel.cs
@@ -15,7 +15,7 @@ using WalletWasabi.Helpers;
namespace WalletWasabi.Fluent.ViewModels.AddWallet;
-[NavigationMetaData(Title = "Enter wallet name")]
+[NavigationMetaData(Title = "Wallet Name")]
public partial class WalletNamePageViewModel : RoutableViewModel
{
[AutoNotify] private string _walletName = "";
@@ -43,15 +43,19 @@ public partial class WalletNamePageViewModel : RoutableViewModel
case WalletCreationOption.AddNewWallet:
await CreatePasswordAsync(walletName);
break;
+
case WalletCreationOption.ConnectToHardwareWallet:
Navigate().To(new ConnectHardwareWalletViewModel(walletName));
break;
+
case WalletCreationOption.RecoverWallet:
Navigate().To(new RecoverWalletViewModel(walletName));
break;
+
case WalletCreationOption.ImportWallet when _importFilePath is { }:
await ImportWalletAsync(walletName, _importFilePath);
break;
+
default:
throw new InvalidOperationException($"{nameof(WalletCreationOption)} not supported: {creationOption}");
}

MODIFY
WalletWasabi.Fluent/Views/AddWallet/WalletNamePageView.axaml
WalletWasabi.Fluent/Views/AddWallet/WalletNamePageView.axaml
x:DataType="vm:WalletNamePageViewModel"
x:CompileBindings="True"
x:Class="WalletWasabi.Fluent.Views.AddWallet.WalletNamePageView">
- <c:ContentArea Title="{Binding Title}" Caption="Type in your wallet's name"
+ <c:ContentArea Title="{Binding Title}"
EnableCancel="{Binding EnableCancel}"
EnableBack="{Binding EnableBack}"
IsBusy="{Binding IsBusy}"
EnableNext="True" NextContent="Continue">
- <StackPanel DockPanel.Dock="Top" Margin="0 0 0 20">
- <Label Content="Wallet _Name:" Target="walletNameTb" />
- <TextBox x:Name="walletNameTb" MaxLength="50" Text="{Binding WalletName}" Watermark="(e.g. My Wallet)">
+ <StackPanel DockPanel.Dock="Top" Margin="0 20 0 20">
+ <TextBox MaxLength="50" Text="{Binding WalletName}" Watermark="(e.g. My Wallet)">
<i:Interaction.Behaviors>
<behaviors:FocusOnAttachedBehavior />
</i:Interaction.Behaviors>

Remove redundant caption and label - Wallet Name