Skip to content

Commit

Permalink
Merge pull request #3399 from Expensify/main
Browse files Browse the repository at this point in the history
  • Loading branch information
OSBotify authored Jun 7, 2021
2 parents 36b8f51 + 81e94c9 commit 147ec11
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
multiDexEnabled rootProject.ext.multiDexEnabled
versionCode 1001006302
versionName "1.0.63-2"
versionCode 1001006303
versionName "1.0.63-3"
}
splits {
abi {
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCash/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.0.63.2</string>
<string>1.0.63.3</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/ExpensifyCashTests/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>1.0.63.2</string>
<string>1.0.63.3</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion 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": "expensify.cash",
"version": "1.0.63-2",
"version": "1.0.63-3",
"author": "Expensify, Inc.",
"homepage": "https://expensify.cash",
"description": "Expensify.cash is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
Expand Down
14 changes: 7 additions & 7 deletions src/pages/home/HeaderView.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ const HeaderView = (props) => {
const isMultipleParticipant = participants.length > 1;
const displayNamesWithTooltips = _.map(
getPersonalDetailsForLogins(participants, props.personalDetails),
({displayName, firstName, login}) => (
{
displayName: props.toLocalPhone(
(isMultipleParticipant ? firstName : displayName) || Str.removeSMSDomain(login),
),
({displayName, firstName, login}) => {
const displayNameTrimmed = Str.isSMSLogin(login) ? props.toLocalPhone(displayName) : displayName;

return {
displayName: (isMultipleParticipant ? firstName : displayNameTrimmed) || Str.removeSMSDomain(login),
tooltip: login,
}
),
};
},
);
const fullTitle = displayNamesWithTooltips.map(({displayName}) => displayName).join(', ');
return (
Expand Down
14 changes: 7 additions & 7 deletions src/pages/home/sidebar/OptionRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ const OptionRow = ({
const isMultipleParticipant = lodashGet(option, 'participantsList.length', 0) > 1;
const displayNamesWithTooltips = _.map(
option.participantsList,
({displayName, firstName, login}) => (
{
displayName: toLocalPhone(
(isMultipleParticipant ? firstName : displayName) || Str.removeSMSDomain(login),
),
({displayName, firstName, login}) => {
const displayNameTrimmed = Str.isSMSLogin(login) ? toLocalPhone(displayName) : displayName;

return {
displayName: (isMultipleParticipant ? firstName : displayNameTrimmed) || Str.removeSMSDomain(login),
tooltip: login,
}
),
};
},
);
return (
<Hoverable>
Expand Down

0 comments on commit 147ec11

Please sign in to comment.