Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save libersolis-dev/fdbdf893a215aeeb956522d504468780 to your computer and use it in GitHub Desktop.
Save libersolis-dev/fdbdf893a215aeeb956522d504468780 to your computer and use it in GitHub Desktop.
App.js
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