Skip to content

Commit a3bb69a

Browse files
committed
fix(android): correctly handle semibold font
1 parent ee6d6ba commit a3bb69a

File tree

1 file changed

+1
-0
lines changed
  • plugin/platforms/android/java/com/nativescript/label

1 file changed

+1
-0
lines changed

Diff for: plugin/platforms/android/java/com/nativescript/label/Font.java

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public static int getIntFontWeight(String fontWeight) {
103103
case FontWeight.NORMAL:
104104
return 400;
105105
case FontWeight.BOLD:
106+
case "semibold":
106107
return 500;
107108
case "thin":
108109
return 100;

0 commit comments

Comments
 (0)