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/ProfilePage.xaml.cs

24 lines
566 B

using Models;
namespace ShoopNCook.Pages;
public partial class ProfilePage : ContentPage
{
public ProfilePage(Account account)
{
BindingContext = account;
InitializeComponent();
ProfilePicture.Source = ImageSource.FromUri(account.User.ProfilePicture);
}
private async void OnBackButtonClicked(object sender, EventArgs e)
{
await Navigation.PopAsync();
}
private async void ChangeMyPasswordClicked(object sender, EventArgs e)
{
await Shell.Current.Navigation.PushAsync(new ChangePassword());
}
}