Skip to content

Commit cedf1ef

Browse files
committed
feat(utils): ⚡ update font helper function to use Inter font on web
1 parent 8e563ec commit cedf1ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/theme/getTextFontFamily.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ export const getTextFontFamily = (tClassNames: string): TextStyle => {
4747
const fontFamily = keys.find(className => tailwindClass.includes(className));
4848

4949
const textStyle =
50-
Platform.OS === "android"
50+
Platform.OS === "ios"
5151
? {
52-
fontFamily: fontFamily ? fontFamilies[fontFamily] : "Inter-Regular",
52+
fontFamily: "System",
5353
}
5454
: {
55-
fontFamily: "System",
55+
fontFamily: fontFamily ? fontFamilies[fontFamily] : "Inter-Regular",
5656
};
5757
return textStyle;
5858
};

0 commit comments

Comments
 (0)