|
|
|
@ -16,21 +16,21 @@ public partial class CreateRecipePage : ContentPage
|
|
|
|
|
this.onRecipeCreated = onRecipeCreated;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private async void OnAddIngredientTapped(object sender, TappedEventArgs e)
|
|
|
|
|
private void OnAddIngredientTapped(object sender, TappedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
IngredientList.Children.Add(new IngredientEntry());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private async void OnAddStepTapped(object sender, TappedEventArgs e)
|
|
|
|
|
private void OnAddStepTapped(object sender, TappedEventArgs e)
|
|
|
|
|
{
|
|
|
|
|
StepList.Children.Add(new StepEntry((uint) StepList.Children.Count() + 1));
|
|
|
|
|
}
|
|
|
|
|
private async void OnBackButtonClicked(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
Navigation.PopAsync();
|
|
|
|
|
await Navigation.PopAsync();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private async void OnUploadRecipeClicked(object sender, EventArgs e)
|
|
|
|
|
private void OnUploadRecipeClicked(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
uint callPerPers;
|
|
|
|
|