forked from vergnet/application-amicale
Updated console.log usage
This commit is contained in:
parent
987bbf9113
commit
470ec8bcdb
5 changed files with 2 additions and 7 deletions
5
App.js
5
App.js
|
@ -60,7 +60,6 @@ export default class App extends React.Component<Props, State> {
|
|||
constructor() {
|
||||
super();
|
||||
LocaleManager.initTranslations();
|
||||
// SplashScreen.preventAutoHide();
|
||||
this.navigatorRef = React.createRef();
|
||||
this.defaultHomeRoute = null;
|
||||
this.defaultHomeData = {};
|
||||
|
@ -71,8 +70,7 @@ export default class App extends React.Component<Props, State> {
|
|||
this.loadAssetsAsync().then(() => {
|
||||
this.onLoadFinished();
|
||||
});
|
||||
// console.log(Linking.makeUrl('path/into/app', { hello: 'world', goodbye: 'now' }))
|
||||
console.log(global.HermesInternal !== null);
|
||||
console.log("USING HERMES:" + global.HermesInternal !== null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -176,6 +174,7 @@ export default class App extends React.Component<Props, State> {
|
|||
showUpdate: this.storageManager.preferences.updateNumber.current !== Update.number.toString(),
|
||||
showAprilFools: AprilFoolsManager.getInstance().isAprilFoolsEnabled() && this.storageManager.preferences.showAprilFoolsStart.current === '1',
|
||||
});
|
||||
console.log('hiding splash');
|
||||
SplashScreen.hide();
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@ class CustomHTML extends React.Component<Props> {
|
|||
};
|
||||
|
||||
getBasicText = (htmlAttribs, children, convertedCSSStyles, passProps) => {
|
||||
// console.log(convertedCSSStyles);
|
||||
return <Text {...passProps}>{children}</Text>;
|
||||
};
|
||||
|
||||
|
|
|
@ -143,7 +143,6 @@ export default class ConnectionManager {
|
|||
async authenticatedRequest(path: string, params: Object) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (this.getToken() !== null) {
|
||||
// console.log(data);
|
||||
let data = {
|
||||
token: this.getToken(),
|
||||
...params
|
||||
|
|
|
@ -18,7 +18,6 @@ export default class LocaleManager {
|
|||
i18n.fallbacks = true;
|
||||
i18n.translations = {fr, en};
|
||||
i18n.locale = RNLocalize.findBestAvailableLanguage(["en", "fr"]).languageTag;
|
||||
console.log(RNLocalize.findBestAvailableLanguage(["en", "fr"]).languageTag);
|
||||
}
|
||||
|
||||
static getCurrentLocale() {
|
||||
|
|
|
@ -228,7 +228,6 @@ class PlanningScreen extends React.Component<Props, State> {
|
|||
}
|
||||
|
||||
render() {
|
||||
// console.log("rendering PlanningScreen");
|
||||
return (
|
||||
<CustomAgenda
|
||||
{...this.props}
|
||||
|
|
Loading…
Reference in a new issue