зеркало из https://github.com/DeGsoft/maui-linux.git
Automated dotnet-format update (#691)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Родитель
bfd9aa9dc4
Коммит
2e9ef48c60
|
@ -109,7 +109,7 @@ namespace Microsoft.Maui.Handlers
|
|||
{
|
||||
handler.NativeView?.UpdateKeyboard(entry);
|
||||
}
|
||||
|
||||
|
||||
public static void MapReturnType(EntryHandler handler, IEntry entry)
|
||||
{
|
||||
handler.NativeView?.UpdateReturnType(entry);
|
||||
|
|
|
@ -92,7 +92,7 @@ namespace Microsoft.Maui.Handlers
|
|||
{
|
||||
handler.NativeView?.UpdateKeyboard(entry);
|
||||
}
|
||||
|
||||
|
||||
public static void MapReturnType(EntryHandler handler, IEntry entry)
|
||||
{
|
||||
handler.NativeView?.UpdateReturnType(entry);
|
||||
|
|
|
@ -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;
|
||||
|
@ -132,7 +132,7 @@ namespace Microsoft.Maui.DeviceTests
|
|||
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));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче