summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.WinRT/Platform.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.WinRT/Platform.cs')
-rw-r--r--Xamarin.Forms.Platform.WinRT/Platform.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.WinRT/Platform.cs b/Xamarin.Forms.Platform.WinRT/Platform.cs
index 012dd2c4..4d7309d3 100644
--- a/Xamarin.Forms.Platform.WinRT/Platform.cs
+++ b/Xamarin.Forms.Platform.WinRT/Platform.cs
@@ -493,7 +493,9 @@ namespace Xamarin.Forms.Platform.WinRT
return GetCommandBarAsync();
}
+#pragma warning disable 1998 // considered for removal
async Task<CommandBar> GetCommandBarAsync()
+#pragma warning restore 1998
{
#if !WINDOWS_UWP
return _page.BottomAppBar as CommandBar;