Skip to content

Commit 6f12a1d

Browse files
Chi_XiaohuiChi_Xiaohui
authored andcommitted
FloatingHint is can't Float in PasswordBox when password is only SPACE. fixes #574
1 parent a8888e4 commit 6f12a1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MaterialDesignThemes.Wpf/HintProxyFabric.PasswordBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ private sealed class PasswordBoxHintProxy : IHintProxy
99
{
1010
private readonly PasswordBox _passwordBox;
1111

12-
public bool IsEmpty() => string.IsNullOrWhiteSpace(_passwordBox.Password);
12+
public bool IsEmpty() => string.IsNullOrEmpty(_passwordBox.Password);
1313

1414
public object Content => _passwordBox.Password;
1515

0 commit comments

Comments
 (0)