You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ShopNCook/Views/HomePage.xaml.cs

17 lines
463 B

using Models;
namespace ShoopNCook.Pages;
public partial class HomePage : ContentPage
{
public HomePage(Account account, IApp app)
{
InitializeComponent();
ProfilePictureImage.Source = ImageSource.FromUri(account.User.ProfilePicture);
ProfilePictureName.Text = account.User.Name;
}
private async void OnSyncButtonClicked(object sender, EventArgs e)
{
await Shell.Current.Navigation.PushAsync(new SearchPage());
}
}