Add Password watermark to open wallet screen

This commit is contained in:
TheXamlGuy
2024-07-03 21:28:59 +01:00
parent a7785edb02
commit 36771cccfc
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
<TextBlock <TextBlock
FontSize="10" FontSize="10"
Foreground="{DynamicResource TextOnAccentFillColorPrimaryBrush}" Foreground="{DynamicResource TextOnAccentFillColorPrimaryBrush}"
Text="BETA PREVIEW 1" /> Text="BETA PREVIEW 2" />
</Border> </Border>
</NavigationView.PaneHeader> </NavigationView.PaneHeader>
<NavigationView.PaneCustomContent> <NavigationView.PaneCustomContent>
+2 -1
View File
@@ -22,7 +22,8 @@
Width="360" Width="360"
Classes="revealPasswordButton" Classes="revealPasswordButton"
PasswordChar="&#x25CF;" PasswordChar="&#x25CF;"
Text="{Binding Password}"> Text="{Binding Password}"
Watermark="Password">
<Interaction.Behaviors> <Interaction.Behaviors>
<KeyBindingTriggerBehaviour Gesture="Enter" IsEnabled="{Binding Password, Converter={x:Static StringConverters.IsNotNullOrEmpty}}"> <KeyBindingTriggerBehaviour Gesture="Enter" IsEnabled="{Binding Password, Converter={x:Static StringConverters.IsNotNullOrEmpty}}">
<InvokeCommandAction Command="{Binding InvokeCommand}" /> <InvokeCommandAction Command="{Binding InvokeCommand}" />