Skip to content

Commit

Permalink
Fix entry password issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinBonilla committed Apr 17, 2024
1 parent f2c7116 commit 8c0cb9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MaterialDesignControls.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata minClientVersion="2.8.1">
<id>Plugin.MaterialDesignControls</id>
<version>3.1.5</version>
<version>3.1.6</version>
<title>MaterialDesignControls Plugin for Xamarin Forms</title>
<authors>Horus</authors>
<owners>AgustinBonillaHorus</owners>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected override void OnElementChanged(ElementChangedEventArgs<Xamarin.Forms.E
this.Control.TextContentType = UITextContentType.OneTimeCode;

if (customEntry.IsPassword && UIDevice.CurrentDevice.CheckSystemVersion(12, 0))
this.Control.TextContentType = UITextContentType.NewPassword;
this.Control.TextContentType = UITextContentType.Password;

if (customEntry.CursorColor.HasValue)
this.Control.TintColor = customEntry.CursorColor.Value.ToUIColor();
Expand Down

0 comments on commit 8c0cb9b

Please sign in to comment.