diff --git a/Sources/IHM/AppShell.xaml b/Sources/IHM/AppShell.xaml
index 97c5410..cdeba6e 100644
--- a/Sources/IHM/AppShell.xaml
+++ b/Sources/IHM/AppShell.xaml
@@ -23,6 +23,7 @@
Icon="planification_black.png"
ContentTemplate="{DataTemplate local:Planification}" />
diff --git a/Sources/IHM/AppShell.xaml.cs b/Sources/IHM/AppShell.xaml.cs
index 998f5b4..d4af711 100644
--- a/Sources/IHM/AppShell.xaml.cs
+++ b/Sources/IHM/AppShell.xaml.cs
@@ -14,8 +14,7 @@ namespace IHM
Routing.RegisterRoute("ForgetPassword", typeof(ForgetPassword));
Routing.RegisterRoute("ChangePassword", typeof(ChangePassword));
}
-
-
+
}
}
\ No newline at end of file
diff --git a/Sources/IHM/MainPage.xaml.cs b/Sources/IHM/MainPage.xaml.cs
index cee9116..9aae00c 100644
--- a/Sources/IHM/MainPage.xaml.cs
+++ b/Sources/IHM/MainPage.xaml.cs
@@ -1,4 +1,7 @@
-using Model;
+ using Android.Bluetooth;
+using AndroidX.Emoji2.Text.FlatBuffer;
+using Microsoft.Maui.Controls;
+using Model;
using System.Windows.Input;
namespace IHM
diff --git a/Sources/IHM/Settings.xaml b/Sources/IHM/Settings.xaml
index af6e452..a7ab581 100644
--- a/Sources/IHM/Settings.xaml
+++ b/Sources/IHM/Settings.xaml
@@ -4,8 +4,13 @@
x:Class="IHM.Settings">
+
\ No newline at end of file
diff --git a/Sources/IHM/Settings.xaml.cs b/Sources/IHM/Settings.xaml.cs
index b46d7af..52f390b 100644
--- a/Sources/IHM/Settings.xaml.cs
+++ b/Sources/IHM/Settings.xaml.cs
@@ -1,9 +1,19 @@
namespace IHM;
-
+using Model;
public partial class Settings : ContentPage
{
- public Settings()
+ 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());
+ }
}
\ No newline at end of file