1
0
Fork 0

Fix promise rejection warning

Dieser Commit ist enthalten in:
Arnaud Vergnet 2020-08-07 13:38:37 +02:00
Ursprung c522a410ab
Commit 956d78ad7f

4
App.js
Datei anzeigen

@ -165,7 +165,9 @@ export default class App extends React.Component<null, StateType> {
*/
loadAssetsAsync = async () => {
await AsyncStorageManager.getInstance().loadPreferences();
await ConnectionManager.getInstance().recoverLogin();
await ConnectionManager.getInstance()
.recoverLogin()
.catch(() => {});
};
/**