mirror of
https://github.com/bitwarden/mobile
synced 2025-12-26 21:23:46 +00:00
update to Xamarin forms 3.1
This commit is contained in:
@@ -46,9 +46,9 @@ namespace Bit.iOS.Controls
|
||||
Control.TintColor = UIColor.Clear;
|
||||
}
|
||||
|
||||
if(view.ReturnType.HasValue)
|
||||
if(view.TargetReturnType.HasValue)
|
||||
{
|
||||
switch(view.ReturnType.Value)
|
||||
switch(view.TargetReturnType.Value)
|
||||
{
|
||||
case App.Enums.ReturnType.Done:
|
||||
Control.ReturnKeyType = UIReturnKeyType.Done;
|
||||
@@ -171,7 +171,7 @@ namespace Bit.iOS.Controls
|
||||
Control.ShouldChangeCharacters = (textField, range, replacementString) =>
|
||||
{
|
||||
var newLength = textField.Text.Length + replacementString.Length - range.Length;
|
||||
return newLength <= view.MaxLength;
|
||||
return newLength <= view.TargetMaxLength;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user