We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d3ac74 commit 0724965Copy full SHA for 0724965
src/Controls/tests/DeviceTests/Elements/NavigationPage/NavigationPageTests.iOS.cs
@@ -62,7 +62,9 @@ public async Task TranslucentNavigationBar(bool enabled)
62
SetupBuilder();
63
var page = new ContentPage();
64
var navPage = new NavigationPage(page) { Title = "App Page" };
65
+#pragma warning disable CS0618 // Type or member is obsolete
66
Controls.PlatformConfiguration.iOSSpecific.NavigationPage.SetIsNavigationBarTranslucent(navPage, enabled);
67
+#pragma warning restore CS0618 // Type or member is obsolete
68
69
var translucent = await GetValueAsync(navPage, (handler) => (handler.ViewController as UINavigationController).NavigationBar.Translucent);
70
Assert.Equal(enabled, translucent);
0 commit comments