Fix promise rejection warning

This commit is contained in:
Arnaud Vergnet 2020-08-07 13:38:37 +02:00
父節點 c522a410ab
當前提交 956d78ad7f

4
App.js
查看文件

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