POS-44 Poprawiono wyświetlanie błędów
This commit is contained in:
parent
d2fe3e384c
commit
37339bbb6a
@ -51,6 +51,12 @@ namespace Klient.Droid
|
|||||||
FindViewById<TextView>(Resource.Id.ErrorLogIn).Text = "Hasło musi mieć od 3 do 12 znaków!";
|
FindViewById<TextView>(Resource.Id.ErrorLogIn).Text = "Hasło musi mieć od 3 do 12 znaków!";
|
||||||
FindViewById<EditText>(Resource.Id.Password).Text = "";
|
FindViewById<EditText>(Resource.Id.Password).Text = "";
|
||||||
}
|
}
|
||||||
|
else if (string.IsNullOrWhiteSpace(new NetworkCredential("", Password).Password))
|
||||||
|
{
|
||||||
|
FindViewById<TextView>(Resource.Id.ErrorLogIn).Text = "Hasło musi mieć od 3 do 12 znaków!";
|
||||||
|
FindViewById<EditText>(Resource.Id.Login).Text = "";
|
||||||
|
FindViewById<EditText>(Resource.Id.Password).Text = "";
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
var values = new Dictionary<string, string>
|
var values = new Dictionary<string, string>
|
||||||
|
Loading…
Reference in New Issue
Block a user