mirror of
https://github.com/bitwarden/mobile
synced 2025-12-26 05:03:39 +00:00
Set Android InputType directly for the pin lock screen to force numeric-only keyboard layout. (#451)
* Set Android InputType directly for the pin lock screen to force numeric-only keyboard layout. * Renamed variable
This commit is contained in:
committed by
Kyle Spearrin
parent
60c5bbc73d
commit
8053e6cb81
@@ -66,6 +66,11 @@ namespace Bit.Android.Controls
|
||||
Control.SetRawInputType(InputTypes.TextFlagNoSuggestions | InputTypes.TextVariationVisiblePassword);
|
||||
}
|
||||
|
||||
if(_view.NumbersOnly)
|
||||
{
|
||||
Control.SetRawInputType(InputTypes.ClassNumber | InputTypes.NumberVariationPassword);
|
||||
}
|
||||
|
||||
_view.ToggleIsPassword += ToggleIsPassword;
|
||||
|
||||
if(_view.FontFamily == "monospace")
|
||||
|
||||
Reference in New Issue
Block a user