fixe la fenetre d'alerte

vnext
Paul Schneider 8 years ago
parent 2cfde938e2
commit 8e89e2ecbd
1 changed files with 1 additions and 1 deletions

@ -334,7 +334,7 @@ namespace ZicMoove
public static Task<bool> DisplayAlert(string title, string message, string yes = "OK", string no = null)
{
var currentPage = ((NavigationPage)Current.MainPage).CurrentPage;
var currentPage = Navigation.NavigationStack.Last();
if (no == null)
{
return currentPage.DisplayAlert(title, message, yes).ContinueWith(task => true);

Loading…