Fix promise rejection warning

This commit is contained in:
Arnaud Vergnet 2020-08-07 13:38:37 +02:00
parent c522a410ab
commit 956d78ad7f

4
App.js
View file

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