Specify MaterialIcons for react-native-vector-icons
I believe this reduces the app bundle size. Closes #61
This commit is contained in:
parent
13c4879470
commit
b7e24d4dec
|
@ -7,6 +7,10 @@ project.ext.react = [
|
||||||
enableHermes: false, // clean and rebuild if changing
|
enableHermes: false, // clean and rebuild if changing
|
||||||
]
|
]
|
||||||
|
|
||||||
|
project.ext.vectoricons = [
|
||||||
|
iconFontNames: ['MaterialIcons.ttf']
|
||||||
|
]
|
||||||
|
|
||||||
apply from: "../../node_modules/react-native/react.gradle"
|
apply from: "../../node_modules/react-native/react.gradle"
|
||||||
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
|
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user