Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
Updated Xamarin.AndroidX.Browser to 1.3.0 (#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow authored Dec 12, 2020
1 parent 9b1efd9 commit 2fb7c9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions Xamarin.Essentials/Browser/Browser.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ static Task<bool> 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);

Expand Down
4 changes: 2 additions & 2 deletions Xamarin.Essentials/Xamarin.Essentials.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
</ItemGroup>
<!-- NOTE: When Android 11.x comes out we neeed to make this check more robust -->
<ItemGroup Condition="'$(TargetFramework)' == 'MonoAndroid10.0'">
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.0.0" />
<PackageReference Include="Xamarin.AndroidX.Browser" Version="1.3.0" />
</ItemGroup>
<ItemGroup Condition=" $(TargetFramework.StartsWith('Xamarin.iOS')) ">
<Compile Include="**\*.ios.cs" />
Expand Down Expand Up @@ -125,4 +125,4 @@
<None Remove="mdoc.targets" />
</ItemGroup>
<Import Project="$(MSBuildThisFileDirectory)mdoc.targets" />
</Project>
</Project>

0 comments on commit 2fb7c9e

Please sign in to comment.