@ -15,14 +15,14 @@
ColumnSpacing="30">
<Image
Source="default_profile_picture.png"/>
x:Name="ProfileImage"/>
<Label
x:Name="ProfileName"
Grid.Column="1"
FontSize="24"
VerticalTextAlignment="Center"
TextColor="{StaticResource TextColorPrimary}"
Text="Adom Shafi"
FontFamily="Poppins"/>
</Grid>
@ -2,8 +2,14 @@ namespace ShoopNCook.Pages;
public partial class MorePage : ContentPage
{
public MorePage()
public MorePage(): this("Adom Shafi", ImageSource.FromFile("default_profile_picture.png"))
}
public MorePage(string userName, ImageSource userImage)
InitializeComponent();
ProfileImage.Source = userImage;
ProfileName.Text = userName;
@ -1,5 +1,3 @@
using System.Xml.Linq;
namespace ShoopNCook.Views;
public partial class HeadedButton : ContentView