Skip to content

Commit

Permalink
Add missing android font weight (dotnet#26450)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlleSchonWeg authored Dec 9, 2024
1 parent 763b6f5 commit c7855dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Core/src/Fonts/FontManager.Android.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public class FontManager : IFontManager
{
{ "-light", FontWeight.Light },
{ "-medium", FontWeight.Medium },
{ "-black", FontWeight.Black }
{ "-black", FontWeight.Black },
{ "-thin", FontWeight.Thin }
// Add more styles as needed
};

Expand Down Expand Up @@ -224,4 +225,4 @@ static string FontNameToFontFile(string fontFamily)
return fontFamily;
}
}
}
}

0 comments on commit c7855dc

Please sign in to comment.