You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
444 B
22 lines
444 B
namespace IHM.Mobile;
|
|
using Model;
|
|
using System.Diagnostics;
|
|
|
|
public partial class Settings : ContentPage
|
|
{
|
|
public Manager Mgr => (App.Current as App).Manager;
|
|
public Settings()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
public void deconnexionOnClicked(object sender, EventArgs e)
|
|
{
|
|
Mgr.deconnexion();
|
|
NavigateTo();
|
|
}
|
|
private async void NavigateTo()
|
|
{
|
|
await Navigation.PushModalAsync(new MainPage());
|
|
}
|
|
|
|
} |