1
0
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:
Kyle Spearrin
2018-06-29 12:45:10 -04:00
parent 993fc2e6f4
commit e5e3ebdbba
14 changed files with 57 additions and 36 deletions

View File

@@ -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;
};
}