Fix promise rejection warning

This commit is contained in:
Arnaud Vergnet 2020-08-07 13:38:37 +02:00
förälder c522a410ab
incheckning 956d78ad7f

4
App.js
Visa fil

@ -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(() => {});
};
/**