diff options
author | Paul DiPietro <paul.dipietro@me.com> | 2016-04-12 12:30:27 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-04-12 12:30:27 -0700 |
commit | b42460c2c32a5b24a3f344121876534e61399140 (patch) | |
tree | c65a4dc15ae21c267a2d4ee60d5a40a532be10c5 /Xamarin.Forms.Controls/ControlGalleryPages | |
parent | 10f6c08ceb89b8b302cb41dd6fe7b1ccf70884ba (diff) | |
download | xamarin-forms-b42460c2c32a5b24a3f344121876534e61399140.tar.gz xamarin-forms-b42460c2c32a5b24a3f344121876534e61399140.tar.bz2 xamarin-forms-b42460c2c32a5b24a3f344121876534e61399140.zip |
Enable CS1998 warnings as errors (#65)
Diffstat (limited to 'Xamarin.Forms.Controls/ControlGalleryPages')
-rw-r--r-- | Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs | 4 |
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" }); |