diff options
Diffstat (limited to 'Xamarin.Forms.Controls')
-rw-r--r-- | Xamarin.Forms.Controls/ControlGalleryPages/AutomationIDGallery.cs | 4 | ||||
-rw-r--r-- | Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj | 6 |
2 files changed, 5 insertions, 5 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" }); diff --git a/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj b/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj index 05a7b5f0..b5dd6af5 100644 --- a/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj +++ b/Xamarin.Forms.Controls/Xamarin.Forms.Controls.csproj @@ -28,7 +28,7 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <NoWarn>0114;0108;0109;4014;1998;0649;0169;0472;0414;0168;0219;0429</NoWarn> + <NoWarn>0114;0108;0109;4014;0649;0169;0472;0414;0168;0219;0429</NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> @@ -38,7 +38,7 @@ <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <NoWarn>0114;0108;0109;4014;1998;0649;0169;0472;0414;0168;0219;0429</NoWarn> + <NoWarn>0114;0108;0109;4014;0649;0169;0472;0414;0168;0219;0429</NoWarn> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Turkey|AnyCPU'"> <DebugSymbols>true</DebugSymbols> @@ -51,7 +51,7 @@ <WarningLevel>4</WarningLevel> <Optimize>false</Optimize> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <NoWarn>0114;0108;0109;4014;1998;0649;0169;0472;0414;0168;0219;0429</NoWarn> + <NoWarn>0114;0108;0109;4014;0649;0169;0472;0414;0168;0219;0429</NoWarn> </PropertyGroup> <ItemGroup> <!-- A reference to the entire .NET Framework is automatically included --> |