From 92416ec5726e309065083a5a02938f2bd8a03eae Mon Sep 17 00:00:00 2001 From: Carlos Martins Date: Wed, 6 Jul 2022 18:21:46 -0600 Subject: [PATCH] rm getUserDetails from App init --- src/libs/Navigation/AppNavigator/AuthScreens.js | 1 - src/libs/actions/App.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.js b/src/libs/Navigation/AppNavigator/AuthScreens.js index 0d40ad9ed839..65283ce3c8f6 100644 --- a/src/libs/Navigation/AppNavigator/AuthScreens.js +++ b/src/libs/Navigation/AppNavigator/AuthScreens.js @@ -118,7 +118,6 @@ class AuthScreens extends React.Component { return; } PersonalDetails.fetchPersonalDetails(); - User.getUserDetails(); User.getBetas(); }, 1000 * 60 * 30)); diff --git a/src/libs/actions/App.js b/src/libs/actions/App.js index 62f183e0b218..80eee63dd032 100644 --- a/src/libs/actions/App.js +++ b/src/libs/actions/App.js @@ -78,7 +78,6 @@ AppState.addEventListener('change', (nextAppState) => { * @returns {Promise} */ function getAppData(shouldSyncPolicyList = true) { - User.getUserDetails(); User.getBetas(); User.getDomainInfo(); PersonalDetails.fetchLocalCurrency();