|
|
@ -43,6 +43,11 @@ namespace TheGameExtreme.view
|
|
|
|
for (int i = 0; i < NameList.Children.Count; i++)
|
|
|
|
for (int i = 0; i < NameList.Children.Count; i++)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
playersNames.Add(((Entry)NameList.Children[i]).Text);
|
|
|
|
playersNames.Add(((Entry)NameList.Children[i]).Text);
|
|
|
|
|
|
|
|
if (string.IsNullOrWhiteSpace(playersNames[playersNames.Count - 1]))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
DisplayAlert("Erreur Pseudo", "Veuillez remplir tous les pseudos", "OK");
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
await Navigation.PushAsync(new MainPage(playersNames));
|
|
|
|
await Navigation.PushAsync(new MainPage(playersNames));
|
|
|
|