Created
March 10, 2019 18:43
-
-
Save libersolis-dev/fdbdf893a215aeeb956522d504468780 to your computer and use it in GitHub Desktop.
App.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AppState } from 'react-native'; | |
import timeoutfix from './src/time-out-fix-util'; | |
console.disableYellowBox = true; | |
class App extends Component { | |
async componentWillMount() { | |
timeoutfix(); | |
await Font.loadAsync({ | |
Roboto: require('native-base/Fonts/Roboto.ttf'), | |
Roboto_medium: require('native-base/Fonts/Roboto_medium.ttf'), | |
Ionicons: require('@expo/vector-icons/fonts/Ionicons.ttf'), | |
}); | |
} | |
render() { | |
return ( | |
<Navigation /> | |
); | |
} | |
} | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment