Skip to content

Commit

Permalink
Merge pull request #56387 from Expensify/roryabraham-cherry-pick-stag…
Browse files Browse the repository at this point in the history
…ing-56370-1

🍒 Cherry pick PR #56370 to staging 🍒
  • Loading branch information
deetergp authored Feb 5, 2025
2 parents b42e0c5 + 42d062b commit c859ee1
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1009009405
versionName "9.0.94-5"
versionCode 1009009406
versionName "9.0.94-6"
// Supported language variants must be declared here to avoid from being removed during the compilation.
// This also helps us to not include unnecessary language variants in the APK.
resConfigs "en", "es"
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensify/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>9.0.94.5</string>
<string>9.0.94.6</string>
<key>FullStory</key>
<dict>
<key>OrgId</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/NewExpensifyTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>9.0.94.5</string>
<string>9.0.94.6</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion ios/NotificationServiceExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<key>CFBundleShortVersionString</key>
<string>9.0.94</string>
<key>CFBundleVersion</key>
<string>9.0.94.5</string>
<string>9.0.94.6</string>
<key>NSExtension</key>
<dict>
<key>NSExtensionPointIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
"version": "9.0.94-5",
"version": "9.0.94-6",
"author": "Expensify, Inc.",
"homepage": "https://new.expensify.com",
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
Expand Down
1 change: 1 addition & 0 deletions src/CONST.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6567,6 +6567,7 @@ const CONST = {
ERROR_PERMISSION_DENIED: 'permissionDenied',
},
},
SETUP_SPECIALIST_LOGIN: 'Setup Specialist',
} as const;

type Country = keyof typeof CONST.ALL_COUNTRIES;
Expand Down
9 changes: 8 additions & 1 deletion src/libs/OptionsListUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,14 @@ function getValidOptions(
for (let i = 0; i < options.personalDetails.length; i++) {
// eslint-disable-next-line rulesdir/prefer-at
const detail = options.personalDetails[i];
if (!detail?.login || !detail.accountID || !!detail?.isOptimisticPersonalDetail || (!includeDomainEmail && Str.isDomainEmail(detail.login))) {
if (
!detail?.login ||
!detail.accountID ||
!!detail?.isOptimisticPersonalDetail ||
(!includeDomainEmail && Str.isDomainEmail(detail.login)) ||
// Exclude the setup specialist from the list of personal details as it's a fallback if guide is not assigned
detail?.login === CONST.SETUP_SPECIALIST_LOGIN
) {
continue;
}

Expand Down
1 change: 1 addition & 0 deletions src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3661,6 +3661,7 @@ function prepareOnboardingOnyxData(
assignedGuideAccountID = generateAccountID(assignedGuideEmail);
Onyx.merge(ONYXKEYS.PERSONAL_DETAILS_LIST, {
[assignedGuideAccountID]: {
isOptimisticPersonalDetail: assignedGuideEmail === CONST.SETUP_SPECIALIST_LOGIN,
login: assignedGuideEmail,
displayName: assignedGuideEmail,
},
Expand Down

0 comments on commit c859ee1

Please sign in to comment.