Ajout d'un bouton de déconnexion dans les paramétres
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4a911ea421
commit
0d16419114
@ -1,9 +1,19 @@
|
||||
namespace IHM;
|
||||
|
||||
using Model;
|
||||
public partial class Settings : ContentPage
|
||||
{
|
||||
public Manager Mgr => (App.Current as App).Manager;
|
||||
public Settings()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
public void deconnexionOnClicked(object sender, EventArgs e)
|
||||
{
|
||||
Mgr.SelectedInscrit = null;
|
||||
NavigateTo();
|
||||
}
|
||||
private async void NavigateTo()
|
||||
{
|
||||
await Navigation.PushModalAsync(new MainPage());
|
||||
}
|
||||
}
|
Loading…
Reference in new issue