Created
March 10, 2019 18:43
-
-
Save libersolis-dev/487ddd1de01f60e5698a122979345b24 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