diff --git a/Services/IAuthService.cs b/Services/IAuthService.cs index 2b4fa73..0e450e2 100644 --- a/Services/IAuthService.cs +++ b/Services/IAuthService.cs @@ -8,3 +8,4 @@ namespace Endpoint public Account? Register(string email, string username, string password); } } + diff --git a/Views/ChangePassword.xaml b/Views/ChangePassword.xaml index 73d11ca..237e203 100644 --- a/Views/ChangePassword.xaml +++ b/Views/ChangePassword.xaml @@ -19,7 +19,7 @@ @@ -60,7 +60,8 @@ + Placeholder="Old Password" + IsPassword="True"/> @@ -85,7 +86,8 @@ + Placeholder="New Password" + IsPassword="True"/> @@ -111,7 +113,8 @@ + Placeholder="New Password" + IsPassword="True"/> diff --git a/Views/ChangePassword.xaml.cs b/Views/ChangePassword.xaml.cs index 7b847bd..b22dac1 100644 --- a/Views/ChangePassword.xaml.cs +++ b/Views/ChangePassword.xaml.cs @@ -6,4 +6,8 @@ public partial class ChangePassword : ContentPage { InitializeComponent(); } + private async void OnBackButtonClicked(object sender, EventArgs e) + { + await Navigation.PopAsync(); + } } \ No newline at end of file diff --git a/Views/Components/OwnedRecipeView.xaml b/Views/Components/OwnedRecipeView.xaml index dc14df3..cf934a2 100644 --- a/Views/Components/OwnedRecipeView.xaml +++ b/Views/Components/OwnedRecipeView.xaml @@ -1,7 +1,8 @@ + x:Class="ShoopNCook.Views.OwnedRecipeView" + Margin="6,2"> @@ -11,6 +12,8 @@ Padding="10" MinimumHeightRequest="175" MinimumWidthRequest="150" + MaximumHeightRequest="175" + MaximumWidthRequest="150" RowDefinitions="*, Auto"> @@ -25,7 +28,12 @@ StrokeShape="RoundRectangle 20" BackgroundColor="{StaticResource ImageBackground}"> - + + x:Class="ShoopNCook.Views.RecipeView" + Margin="4,2"> @@ -24,7 +27,12 @@ StrokeShape="RoundRectangle 20" BackgroundColor="{StaticResource ImageBackground}"> - + - + + Placeholder="New password" + IsPassword="True"/> diff --git a/Views/LoginPage.xaml b/Views/LoginPage.xaml index c8ba1b6..f78df4c 100644 --- a/Views/LoginPage.xaml +++ b/Views/LoginPage.xaml @@ -59,7 +59,8 @@ Style="{StaticResource UserInput}" Grid.Column="2" Placeholder="Password" - x:Name="PasswordEntry"/> + x:Name="PasswordEntry" + IsPassword="True"/> - -