summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs')
-rw-r--r--Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs b/Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs
index c93a9b69..4ba26667 100644
--- a/Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs
+++ b/Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs
@@ -43,7 +43,7 @@ namespace Xamarin.Forms.Controls
var btn = new Button {
AutomationId = "popModal",
Text = "Pop",
- Command = new Command (async () => Navigation.PopModalAsync ())
+ Command = new Command (async () => await Navigation.PopModalAsync ())
};
rootLayout.Children.Add (btn);
rootLayout.Children.Add (new ActivityIndicator { AutomationId = "actHello", IsRunning = true });
@@ -72,7 +72,7 @@ namespace Xamarin.Forms.Controls
var btn = new Button {
AutomationId = "popModal",
Text = "Pop",
- Command = new Command (async () => Navigation.PopModalAsync ())
+ Command = new Command (async () => await Navigation.PopModalAsync ())
};
rootLayout.Children.Add (btn);
rootLayout.Children.Add (new Image { AutomationId = "imgHello", Source = "menuIcon" });