diff --git a/AppShell.xaml b/AppShell.xaml index b65e543..e2f9c0c 100644 --- a/AppShell.xaml +++ b/AppShell.xaml @@ -54,19 +54,19 @@ diff --git a/Pages/MorePage.xaml b/Pages/MorePage.xaml index acfbc15..e9ecd20 100644 --- a/Pages/MorePage.xaml +++ b/Pages/MorePage.xaml @@ -45,7 +45,12 @@ - + + + + + + diff --git a/Pages/MorePage.xaml.cs b/Pages/MorePage.xaml.cs index fc55014..40a0efc 100644 --- a/Pages/MorePage.xaml.cs +++ b/Pages/MorePage.xaml.cs @@ -24,6 +24,14 @@ public partial class MorePage : ContentPage private async void OnLogoutButtonTapped(object sender, EventArgs e) { - await Shell.Current.GoToAsync("//Login"); + await Shell.Current.GoToAsync("//LoginPage"); + } + private async void OnShareButtonClicked(object sender, EventArgs e) + { + await Share.RequestAsync(new ShareTextRequest + { + Text = "Voici le texte à partager", + Title = "Partagez ce texte" + }); } } \ No newline at end of file