Bug retour lors de la déconnexion résolu

UI_Mobile
Lucas EVARD 2 years ago
parent 0d16419114
commit 0c0ef2118b

@ -50,7 +50,11 @@ namespace IHM
{
await DisplayAlert(s, s1, s2);
}
protected override bool OnBackButtonPressed()
{
return true;
}
public ICommand TapCommand => new Command<string>(async (page) => await Shell.Current.GoToAsync(page));
}
}

@ -1,5 +1,8 @@
namespace IHM;
using Model;
using System.Diagnostics;
public partial class Settings : ContentPage
{
public Manager Mgr => (App.Current as App).Manager;
@ -14,6 +17,9 @@ public partial class Settings : ContentPage
}
private async void NavigateTo()
{
OnBackButtonPressed();
Debug.WriteLine(base.OnBackButtonPressed());
await Navigation.PushModalAsync(new MainPage());
}
}
Loading…
Cancel
Save