Set default values.
MODIFY
WalletWasabi.Gui/Controls/TogglePasswordBox.cs
WalletWasabi.Gui/Controls/TogglePasswordBox.cs
@@ -25,6 +25,9 @@ namespace WalletWasabi.Gui.Controls
public TogglePasswordBox()
{
+ UseFloatingWatermark = true;
+ Watermark = "Password";
+
this.GetObservable(IsPasswordVisibleProperty)
.ObserveOn(RxApp.MainThreadScheduler)
.Subscribe(x =>
@@ -50,6 +53,7 @@ namespace WalletWasabi.Gui.Controls
maskedButton.WhenAnyValue(x => x.IsPressed)
.Where(x => x)
.ObserveOn(RxApp.MainThreadScheduler)
+
.Subscribe(_ =>
{
IsPasswordVisible = !IsPasswordVisible;

MODIFY
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletView.xaml
WalletWasabi.Gui/Tabs/WalletManager/LoadWalletView.xaml
<StackPanel>
<TextBlock Text="Select a wallet to test its password!" FontWeight="Bold" />
</StackPanel>
- <controls:TogglePasswordBox Watermark="Password" UseFloatingWatermark="True" />
+ <controls:TogglePasswordBox />
<StackPanel>
<TextBlock Text="Why the unconventional password masking?" FontWeight="Bold" />
<TextBlock Text="We received numerous reports on losing or mistyping passwords. This experiment aims to disrupt users' typical workflow at wallet generation, forcing them to pay more attention than otherwise would." TextWrapping="Wrap" />

Set default values.