fixe la fenetre d'alerte
This commit is contained in:
parent
c2c1c601e5
commit
c3e2a998c3
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…
Add table
Add a link
Reference in a new issue