diff --git a/src/TravelMonkey/Views/AddPicturePage.xaml b/src/TravelMonkey/Views/AddPicturePage.xaml
index 8a6f98a..0fd2477 100644
--- a/src/TravelMonkey/Views/AddPicturePage.xaml
+++ b/src/TravelMonkey/Views/AddPicturePage.xaml
@@ -29,7 +29,13 @@
-
+
+
+
+
+
+
+
diff --git a/src/TravelMonkey/Views/AddPicturePage.xaml.cs b/src/TravelMonkey/Views/AddPicturePage.xaml.cs
index 3ea8d36..4465854 100644
--- a/src/TravelMonkey/Views/AddPicturePage.xaml.cs
+++ b/src/TravelMonkey/Views/AddPicturePage.xaml.cs
@@ -21,5 +21,16 @@ private void Button_Clicked(object sender, EventArgs e)
{
Navigation.PopModalAsync();
}
+
+ private async void TranslateDescription_Tapped(object sender, EventArgs e)
+ {
+ if (string.IsNullOrWhiteSpace(PictureDescriptionLabel.Text))
+ {
+ await DisplayAlert("No description text", "You didn't take or choose a photo!", "OK");
+ return;
+ }
+
+ await Navigation.PushModalAsync(new TranslationResultPage(PictureDescriptionLabel.Text));
+ }
}
}
\ No newline at end of file