Load only used icon font

This commit is contained in:
Arnaud Vergnet 2020-04-29 17:43:18 +02:00
parent a4bbd84136
commit f89aa2d2ff

View file

@ -81,6 +81,10 @@ project.ext.react = [
] ]
apply from: "../../node_modules/react-native/react.gradle" apply from: "../../node_modules/react-native/react.gradle"
project.ext.vectoricons = [
iconFontNames: [ 'MaterialCommunityIcons.ttf'] // Name of the font files you want to copy
]
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle" apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
/** /**