diff --git a/android/app/build.gradle b/android/app/build.gradle
index 71f6216464d7..a70d45c79ed7 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -152,8 +152,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
- versionCode 1001014205
- versionName "1.1.42-5"
+ versionCode 1001014206
+ versionName "1.1.42-6"
}
splits {
abi {
diff --git a/ios/NewExpensify/Info.plist b/ios/NewExpensify/Info.plist
index 15300cfaa3ec..712dfc09967d 100644
--- a/ios/NewExpensify/Info.plist
+++ b/ios/NewExpensify/Info.plist
@@ -31,7 +31,7 @@
CFBundleVersion
- 1.1.42.5
+ 1.1.42.6
ITSAppUsesNonExemptEncryption
LSApplicationQueriesSchemes
diff --git a/ios/NewExpensifyTests/Info.plist b/ios/NewExpensifyTests/Info.plist
index adec0ac6ebc7..fb584d6444bb 100644
--- a/ios/NewExpensifyTests/Info.plist
+++ b/ios/NewExpensifyTests/Info.plist
@@ -19,6 +19,6 @@
CFBundleSignature
????
CFBundleVersion
- 1.1.42.5
+ 1.1.42.6
diff --git a/package-lock.json b/package-lock.json
index b252f510794b..7b586cb216f6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
- "version": "1.1.42-5",
+ "version": "1.1.42-6",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
diff --git a/package.json b/package.json
index 06844b4de126..f064b79b8210 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "new.expensify",
- "version": "1.1.42-5",
+ "version": "1.1.42-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.",
diff --git a/src/libs/OptionsListUtils.js b/src/libs/OptionsListUtils.js
index 419c2ada5712..5bf7fa43d1a1 100644
--- a/src/libs/OptionsListUtils.js
+++ b/src/libs/OptionsListUtils.js
@@ -275,6 +275,7 @@ function createOption(personalDetailList, report, {
const tooltipText = ReportUtils.getReportParticipantsTitle(getParticipants(report));
const subtitle = ReportUtils.getChatRoomSubtitle(report, policies);
+ let icons = getAvatarSources(report);
let text;
let alternateText;
if (isChatRoom || isPolicyExpenseChat) {
@@ -290,11 +291,15 @@ function createOption(personalDetailList, report, {
alternateText = (showChatPreviewLine && lastMessageText)
? lastMessageText
: Str.removeSMSDomain(personalDetail.login);
+ if (!report) {
+ // If the report doesn't exist then we're creating a list of users to invite (using the personalDetailList)
+ icons = [personalDetail.avatar];
+ }
}
return {
text,
alternateText,
- icons: getAvatarSources(report),
+ icons,
tooltipText,
ownerEmail: lodashGet(report, ['ownerEmail']),
subtitle,