forked from vergnet/application-amicale
		
	Fix promise rejection warning
This commit is contained in:
		
							parent
							
								
									c522a410ab
								
							
						
					
					
						commit
						956d78ad7f
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								App.js
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								App.js
									
									
									
									
									
								
							|  | @ -165,7 +165,9 @@ export default class App extends React.Component<null, StateType> { | ||||||
|    */ |    */ | ||||||
|   loadAssetsAsync = async () => { |   loadAssetsAsync = async () => { | ||||||
|     await AsyncStorageManager.getInstance().loadPreferences(); |     await AsyncStorageManager.getInstance().loadPreferences(); | ||||||
|     await ConnectionManager.getInstance().recoverLogin(); |     await ConnectionManager.getInstance() | ||||||
|  |       .recoverLogin() | ||||||
|  |       .catch(() => {}); | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   /** |   /** | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue