diff --git a/MangaMap/CustomHeader.xaml b/MangaMap/CustomHeader.xaml index d736f8f..51fb1da 100644 --- a/MangaMap/CustomHeader.xaml +++ b/MangaMap/CustomHeader.xaml @@ -3,7 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="MangaMap.NewContent1" Background="{StaticResource Primary}"> - + + + + diff --git a/MangaMap/Resources/Images/account_circle.png b/MangaMap/Resources/Images/account_circle.png new file mode 100644 index 0000000..98f1e14 Binary files /dev/null and b/MangaMap/Resources/Images/account_circle.png differ diff --git a/MangaMap/Views/settingsPage.xaml.cs b/MangaMap/Views/settingsPage.xaml.cs index 7a59b6a..b76e70e 100644 --- a/MangaMap/Views/settingsPage.xaml.cs +++ b/MangaMap/Views/settingsPage.xaml.cs @@ -1,7 +1,10 @@ namespace MangaMap.Views; +using Model; public partial class settingsPage : ContentPage { + public Manager my_manager => (App.Current as App).MyManager; + public settingsPage() { InitializeComponent(); @@ -9,6 +12,7 @@ public partial class settingsPage : ContentPage private async void OnDisconnectClicked(object sender, EventArgs e) { + my_manager.UtilisateurActuel = new Utilisateur(); await Shell.Current.Navigation.PushAsync(new loginPage()); }