Skip to content

Commit

Permalink
load FontAwesome font library
Browse files Browse the repository at this point in the history
Fix #89
  • Loading branch information
ruddell committed Mar 9, 2020
1 parent 2993f78 commit c577a42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boilerplate/app/config/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import DebugConfig from './debug-config'

// load font libraries for react-native-vector-icons
import Icon from 'react-native-vector-icons/FontAwesome'
Icon.loadFont();

if (__DEV__) {
// If ReactNative's yellow box warnings are too much, it is possible to turn
// it off, but the healthier approach is to fix the warnings. =)
Expand Down

0 comments on commit c577a42

Please sign in to comment.