diff --git a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml index 474f88c..5b0e403 100644 --- a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml +++ b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml @@ -3,10 +3,11 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="Trek_12.Views.Components.viewsProfils" x:Name="this"> + - + - diff --git a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs index 19239e0..19fc910 100644 --- a/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs +++ b/source/Trek-12/Trek-12/Views/Components/viewsProfils.xaml.cs @@ -13,7 +13,7 @@ public partial class viewsProfils : ContentView } public static readonly BindableProperty PseudoProperty = - BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "Profile n°*"); + BindableProperty.Create("Pseudo", typeof(string), typeof(ContentLeaderBoard), "Profile n°*"); public string Pseudo { @@ -30,4 +30,9 @@ public partial class viewsProfils : ContentView get => converter.RetrieveImage((string)GetValue(ProfilePictureProperty)); set => SetValue(ProfilePictureProperty, value); } + + public static readonly BindableProperty CreationDateProperty = + BindableProperty.Create("CreationDate", typeof(string), typeof(viewsProfils), string.Empty); + + public string CreationDate => (string)GetValue(CreationDateProperty); } \ No newline at end of file