Skip to content

Commit

Permalink
Automated dotnet-format update (#691)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Apr 12, 2021
1 parent bfd9aa9 commit 2e9ef48
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Entry/EntryHandler.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static void MapKeyboard(EntryHandler handler, IEntry entry)
{
handler.NativeView?.UpdateKeyboard(entry);
}

public static void MapReturnType(EntryHandler handler, IEntry entry)
{
handler.NativeView?.UpdateReturnType(entry);
Expand Down
2 changes: 1 addition & 1 deletion src/Core/src/Handlers/Entry/EntryHandler.iOS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public static void MapKeyboard(EntryHandler handler, IEntry entry)
{
handler.NativeView?.UpdateKeyboard(entry);
}

public static void MapReturnType(EntryHandler handler, IEntry entry)
{
handler.NativeView?.UpdateReturnType(entry);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Threading.Tasks;
using System.Linq;
using System.Threading.Tasks;
using Android.Text;
using Android.Text.Method;
using Android.Views.InputMethods;
Expand Down Expand Up @@ -132,7 +132,7 @@ bool GetNativeIsNumericKeyboard(EntryHandler entryHandler)
var editText = GetNativeEntry(entryHandler);
var inputTypes = editText.InputType;

return editText.KeyListener is NumberKeyListener
return editText.KeyListener is NumberKeyListener
&& (inputTypes.HasFlag(InputTypes.NumberFlagDecimal) && inputTypes.HasFlag(InputTypes.ClassNumber) && inputTypes.HasFlag(InputTypes.NumberFlagSigned));
}

Expand Down

0 comments on commit 2e9ef48

Please sign in to comment.