Skip to content

Commit b0637b3

Browse files
author
Amal Nazeem
authored
Merge pull request #8013 from Expensify/OSBotify-cherry-pick-staging-8011
🍒 Cherry pick PR #8011 to staging 🍒
2 parents e61688d + 04d28cb commit b0637b3

File tree

7 files changed

+15
-23
lines changed

7 files changed

+15
-23
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ android {
152152
minSdkVersion rootProject.ext.minSdkVersion
153153
targetSdkVersion rootProject.ext.targetSdkVersion
154154
multiDexEnabled rootProject.ext.multiDexEnabled
155-
versionCode 1001014104
156-
versionName "1.1.41-4"
155+
versionCode 1001014105
156+
versionName "1.1.41-5"
157157
}
158158
splits {
159159
abi {

ios/NewExpensify/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</dict>
3232
</array>
3333
<key>CFBundleVersion</key>
34-
<string>1.1.41.4</string>
34+
<string>1.1.41.5</string>
3535
<key>ITSAppUsesNonExemptEncryption</key>
3636
<false/>
3737
<key>LSApplicationQueriesSchemes</key>

ios/NewExpensifyTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>1.1.41.4</string>
22+
<string>1.1.41.5</string>
2323
</dict>
2424
</plist>

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "new.expensify",
3-
"version": "1.1.41-4",
3+
"version": "1.1.41-5",
44
"author": "Expensify, Inc.",
55
"homepage": "https://new.expensify.com",
66
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",

src/pages/ReportDetailsPage.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Str from 'expensify-common/lib/str';
55
import _ from 'underscore';
66
import {View, ScrollView} from 'react-native';
77
import lodashGet from 'lodash/get';
8-
import Avatar from '../components/Avatar';
8+
import RoomHeaderAvatars from '../components/RoomHeaderAvatars';
99
import compose from '../libs/compose';
1010
import withLocalize, {withLocalizePropTypes} from '../components/withLocalize';
1111
import ONYXKEYS from '../ONYXKEYS';
@@ -103,6 +103,7 @@ class ReportDetailsPage extends Component {
103103
}
104104

105105
render() {
106+
const isPolicyExpenseChat = ReportUtils.isPolicyExpenseChat(this.props.report);
106107
const isChatRoom = ReportUtils.isChatRoom(this.props.report);
107108
const chatRoomSubtitle = ReportUtils.getChatRoomSubtitle(this.props.report, this.props.policies);
108109
const participants = lodashGet(this.props.report, 'participants', []);
@@ -131,13 +132,12 @@ class ReportDetailsPage extends Component {
131132
<View
132133
style={styles.reportDetailsTitleContainer}
133134
>
134-
<Avatar
135-
isChatRoom={isChatRoom}
136-
isArchivedRoom={ReportUtils.isArchivedRoom(this.props.report)}
137-
containerStyles={[styles.singleAvatarLarge, styles.mb4]}
138-
imageStyles={[styles.singleAvatarLarge]}
139-
source={this.props.report.icons[0]}
140-
/>
135+
<View style={styles.mb4}>
136+
<RoomHeaderAvatars
137+
avatarIcons={OptionsListUtils.getAvatarSources(this.props.report)}
138+
shouldShowLargeAvatars={isPolicyExpenseChat}
139+
/>
140+
</View>
141141
<View style={[styles.reportDetailsRoomInfo, styles.mw100]}>
142142
<View style={[styles.alignSelfCenter, styles.w100]}>
143143
<DisplayNames

src/styles/styles.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,14 +1495,6 @@ const styles = {
14951495
borderRadius: 18,
14961496
},
14971497

1498-
singleAvatarLarge: {
1499-
height: 64,
1500-
width: 64,
1501-
backgroundColor: themeColors.icon,
1502-
borderRadius: 64,
1503-
overflow: 'hidden',
1504-
},
1505-
15061498
secondAvatar: {
15071499
position: 'absolute',
15081500
right: -18,
@@ -1752,7 +1744,7 @@ const styles = {
17521744
...flex.flexColumn,
17531745
...flex.alignItemsCenter,
17541746
...spacing.mt4,
1755-
height: 150,
1747+
height: 170,
17561748
},
17571749

17581750
reportDetailsRoomInfo: {

0 commit comments

Comments
 (0)