[RN] Remove duplicated font on Android

Copy it from the main fonts directory instead.
This commit is contained in:
Saúl Ibarra Corretgé 2017-06-09 16:05:27 +02:00
parent a1a394ad0b
commit be8694f93e
2 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ gradle.projectsEvaluated {
// //
def currentFontTask = tasks.create(name: "${buildType.name}CopyFonts", type: Copy) { def currentFontTask = tasks.create(name: "${buildType.name}CopyFonts", type: Copy) {
from("${projectDir}/../../fonts/jitsi.ttf")
from("${projectDir}/../../node_modules/react-native-vector-icons/Fonts/") from("${projectDir}/../../node_modules/react-native-vector-icons/Fonts/")
into("${bundlePath}/assets/fonts") into("${bundlePath}/assets/fonts")
} }