fix for #42
continuous-integration/drone/push Build is passing Details

pull/51/head
Leo TUAILLON 2 years ago
parent b4ec712da5
commit 90d4482ffe

@ -19,7 +19,7 @@
<HorizontalStackLayout>
<ImageButton
Grid.Column="0"
Clicked="OnBackButtonClicked"
HeightRequest="50"
WidthRequest="50"
Source="arrow_back.svg"/>

@ -6,4 +6,8 @@ public partial class ChangePassword : ContentPage
{
InitializeComponent();
}
private async void OnBackButtonClicked(object sender, EventArgs e)
{
await Navigation.PopAsync();
}
}

@ -76,7 +76,7 @@
<Grid
Grid.Row="2"
Padding="0, 20, 0, 0"
RowDefinitions="Auto, *, Auto, *">
RowDefinitions="Auto, *, Auto, Auto,Auto">
<Label
Grid.Row="0"
Text="Name"
@ -106,6 +106,18 @@
Text="%Profile_Mail%"
Placeholder="Place your email address here"/>
</Border>
<Border
Grid.Row="4"
Margin="0, 30, 0, 0"
Stroke="{StaticResource BackgroundPrimary}"
StrokeShape="RoundRectangle 12">
<Button
BackgroundColor="{StaticResource ActionButton}"
FontFamily="PoppinsMedium"
TextColor="White"
Text="Change My Password"
Clicked="ChangeMyPasswordClicked"/>
</Border>

@ -12,4 +12,8 @@ public partial class ProfilePage : ContentPage
{
await Navigation.PopAsync();
}
private async void ChangeMyPasswordClicked(object sender, EventArgs e)
{
await Shell.Current.Navigation.PushAsync(new ChangePassword()) ;
}
}
Loading…
Cancel
Save