Skip to content

Commit

Permalink
Remove IsAndroidVersionAtLeast(17) check
Browse files Browse the repository at this point in the history
Minimum API level is 21 in .NET 6
  • Loading branch information
jonathanpeppers committed Jun 14, 2022
1 parent ed8b291 commit a698ac7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Essentials/src/AppInfo/AppInfo.android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ public void ShowSettingsUI()

static LayoutDirection GetLayoutDirection()
{
if (!OperatingSystem.IsAndroidVersionAtLeast(17))
return LayoutDirection.LeftToRight;

var config = Application.Context.Resources?.Configuration;
if (config == null)
return LayoutDirection.Unknown;
Expand Down

0 comments on commit a698ac7

Please sign in to comment.