From 2fb7c9ee75e244e990677fa4ef85bbfd730a97e7 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Sat, 12 Dec 2020 05:45:04 +0200 Subject: [PATCH] Updated Xamarin.AndroidX.Browser to 1.3.0 (#1585) --- Xamarin.Essentials/Browser/Browser.android.cs | 2 ++ Xamarin.Essentials/Xamarin.Essentials.csproj | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Xamarin.Essentials/Browser/Browser.android.cs b/Xamarin.Essentials/Browser/Browser.android.cs index 70e794088..6e3a0bbdd 100644 --- a/Xamarin.Essentials/Browser/Browser.android.cs +++ b/Xamarin.Essentials/Browser/Browser.android.cs @@ -22,7 +22,9 @@ static Task PlatformOpenAsync(Uri uri, BrowserLaunchOptions options) var tabsBuilder = new CustomTabsIntent.Builder(); tabsBuilder.SetShowTitle(true); if (options.PreferredToolbarColor.HasValue) +#pragma warning disable CS0618 // Type or member is obsolete tabsBuilder.SetToolbarColor(options.PreferredToolbarColor.Value.ToInt()); +#pragma warning restore CS0618 // Type or member is obsolete if (options.TitleMode != BrowserTitleMode.Default) tabsBuilder.SetShowTitle(options.TitleMode == BrowserTitleMode.Show); diff --git a/Xamarin.Essentials/Xamarin.Essentials.csproj b/Xamarin.Essentials/Xamarin.Essentials.csproj index 4d7b8c1d1..185960f9e 100644 --- a/Xamarin.Essentials/Xamarin.Essentials.csproj +++ b/Xamarin.Essentials/Xamarin.Essentials.csproj @@ -87,7 +87,7 @@ - + @@ -125,4 +125,4 @@ - \ No newline at end of file +