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> <HorizontalStackLayout>
<ImageButton <ImageButton
Grid.Column="0" Grid.Column="0"
Clicked="OnBackButtonClicked"
HeightRequest="50" HeightRequest="50"
WidthRequest="50" WidthRequest="50"
Source="arrow_back.svg"/> Source="arrow_back.svg"/>

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

@ -76,7 +76,7 @@
<Grid <Grid
Grid.Row="2" Grid.Row="2"
Padding="0, 20, 0, 0" Padding="0, 20, 0, 0"
RowDefinitions="Auto, *, Auto, *"> RowDefinitions="Auto, *, Auto, Auto,Auto">
<Label <Label
Grid.Row="0" Grid.Row="0"
Text="Name" Text="Name"
@ -106,6 +106,18 @@
Text="%Profile_Mail%" Text="%Profile_Mail%"
Placeholder="Place your email address here"/> Placeholder="Place your email address here"/>
</Border> </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(); await Navigation.PopAsync();
} }
private async void ChangeMyPasswordClicked(object sender, EventArgs e)
{
await Shell.Current.Navigation.PushAsync(new ChangePassword()) ;
}
} }
Loading…
Cancel
Save