use ttf fonts on ios
This commit is contained in:
+8
-3
@@ -304,10 +304,14 @@ module.exports = function (_config) {
|
|||||||
[
|
[
|
||||||
'expo-font',
|
'expo-font',
|
||||||
{
|
{
|
||||||
|
ios: {
|
||||||
|
fonts: [
|
||||||
|
'./assets/fonts/inter/InterVariable.ttf',
|
||||||
|
'./assets/fonts/inter/InterVariable-Italic.ttf',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
android: {
|
||||||
fonts: [
|
fonts: [
|
||||||
'./assets/fonts/inter/InterVariable.woff2',
|
|
||||||
'./assets/fonts/inter/InterVariable-Italic.woff2',
|
|
||||||
// Android only
|
|
||||||
'./assets/fonts/inter/Inter-Regular.otf',
|
'./assets/fonts/inter/Inter-Regular.otf',
|
||||||
'./assets/fonts/inter/Inter-Italic.otf',
|
'./assets/fonts/inter/Inter-Italic.otf',
|
||||||
'./assets/fonts/inter/Inter-Medium.otf',
|
'./assets/fonts/inter/Inter-Medium.otf',
|
||||||
@@ -318,6 +322,7 @@ module.exports = function (_config) {
|
|||||||
'./assets/fonts/inter/Inter-BoldItalic.otf',
|
'./assets/fonts/inter/Inter-BoldItalic.otf',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'expo-splash-screen',
|
'expo-splash-screen',
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user