|
@@ -66,6 +66,9 @@ export default class App extends React.Component<Props, State> {
|
66
|
66
|
this.urlHandler = new URLHandler(this.onInitialURLParsed, this.onDetectURL);
|
67
|
67
|
this.urlHandler.listen();
|
68
|
68
|
setSafeBounceHeight(Platform.OS === 'ios' ? 100 : 20);
|
|
69
|
+ this.loadAssetsAsync().then(() => {
|
|
70
|
+ this.onLoadFinished();
|
|
71
|
+ });
|
69
|
72
|
}
|
70
|
73
|
|
71
|
74
|
/**
|
|
@@ -133,12 +136,6 @@ export default class App extends React.Component<Props, State> {
|
133
|
136
|
this.storageManager.savePref(this.storageManager.preferences.showAprilFoolsStart.key, '0');
|
134
|
137
|
};
|
135
|
138
|
|
136
|
|
- componentDidMount() {
|
137
|
|
- this.loadAssetsAsync().then(() => {
|
138
|
|
- this.onLoadFinished();
|
139
|
|
- });
|
140
|
|
- }
|
141
|
|
-
|
142
|
139
|
/**
|
143
|
140
|
* Loads every async data
|
144
|
141
|
*
|
|
@@ -175,7 +172,6 @@ export default class App extends React.Component<Props, State> {
|
175
|
172
|
showUpdate: this.storageManager.preferences.updateNumber.current !== Update.number.toString(),
|
176
|
173
|
showAprilFools: AprilFoolsManager.getInstance().isAprilFoolsEnabled() && this.storageManager.preferences.showAprilFoolsStart.current === '1',
|
177
|
174
|
});
|
178
|
|
- // SplashScreen.hide();
|
179
|
175
|
}
|
180
|
176
|
|
181
|
177
|
/**
|