diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.js b/src/libs/Navigation/AppNavigator/AuthScreens.js index 92e89929c46a..b9e94137571a 100644 --- a/src/libs/Navigation/AppNavigator/AuthScreens.js +++ b/src/libs/Navigation/AppNavigator/AuthScreens.js @@ -138,7 +138,7 @@ class AuthScreens extends React.Component { fetchCountryCodeByRequestIP(); UnreadIndicatorUpdater.listenForReportChanges(); - if (Permissions.canUseFreePlan(this.props.betas)) { + if (Permissions.canUseFreePlan(this.props.betas) || Permissions.canUseDefaultRooms(this.props.betas)) { getPolicySummaries(); getPolicyList(); } diff --git a/src/libs/Permissions.js b/src/libs/Permissions.js index 384a5036f19a..7063273b245c 100644 --- a/src/libs/Permissions.js +++ b/src/libs/Permissions.js @@ -32,7 +32,7 @@ function canUseIOU(betas) { * @returns {Boolean} */ function canUsePayWithExpensify(betas) { - return _.contains(betas, CONST.BETAS.PAY_WITH_EXPENSIFY) || canUseAllBetas(); + return _.contains(betas, CONST.BETAS.PAY_WITH_EXPENSIFY) || canUseAllBetas(betas); } /** @@ -40,7 +40,7 @@ function canUsePayWithExpensify(betas) { * @returns {Boolean} */ function canUseFreePlan(betas) { - return _.contains(betas, CONST.BETAS.FREE_PLAN) || canUseAllBetas(); + return _.contains(betas, CONST.BETAS.FREE_PLAN) || canUseAllBetas(betas); } /** @@ -48,7 +48,7 @@ function canUseFreePlan(betas) { * @returns {Boolean} */ function canUseDefaultRooms(betas) { - return _.contains(betas, CONST.BETAS.DEFAULT_ROOMS) || canUseAllBetas(); + return _.contains(betas, CONST.BETAS.DEFAULT_ROOMS) || canUseAllBetas(betas); } export default {