@@ -5,7 +5,7 @@ import Str from 'expensify-common/lib/str';
5
5
import _ from 'underscore' ;
6
6
import { View , ScrollView } from 'react-native' ;
7
7
import lodashGet from 'lodash/get' ;
8
- import Avatar from '../components/Avatar ' ;
8
+ import RoomHeaderAvatars from '../components/RoomHeaderAvatars ' ;
9
9
import compose from '../libs/compose' ;
10
10
import withLocalize , { withLocalizePropTypes } from '../components/withLocalize' ;
11
11
import ONYXKEYS from '../ONYXKEYS' ;
@@ -103,6 +103,7 @@ class ReportDetailsPage extends Component {
103
103
}
104
104
105
105
render ( ) {
106
+ const isPolicyExpenseChat = ReportUtils . isPolicyExpenseChat ( this . props . report ) ;
106
107
const isChatRoom = ReportUtils . isChatRoom ( this . props . report ) ;
107
108
const chatRoomSubtitle = ReportUtils . getChatRoomSubtitle ( this . props . report , this . props . policies ) ;
108
109
const participants = lodashGet ( this . props . report , 'participants' , [ ] ) ;
@@ -131,13 +132,22 @@ class ReportDetailsPage extends Component {
131
132
< View
132
133
style = { styles . reportDetailsTitleContainer }
133
134
>
135
+ < << << << HEAD
134
136
< Avatar
135
137
isChatRoom = { isChatRoom }
136
138
isArchivedRoom = { ReportUtils . isArchivedRoom ( this . props . report ) }
137
139
containerStyles = { [ styles . singleAvatarLarge , styles . mb4 ] }
138
140
imageStyles = { [ styles . singleAvatarLarge ] }
139
141
source = { this . props . report . icons [ 0 ] }
140
142
/>
143
+ =======
144
+ < View style = { styles . mb4 } >
145
+ < RoomHeaderAvatars
146
+ avatarIcons = { OptionsListUtils . getAvatarSources ( this . props . report ) }
147
+ shouldShowLargeAvatars = { isPolicyExpenseChat }
148
+ />
149
+ </ View >
150
+ >>> >>> > d64f8c52c ( Merge pull request #8011 from Expensify / amal - fix - reportdetails - icons )
141
151
< View style = { [ styles . reportDetailsRoomInfo , styles . mw100 ] } >
142
152
< View style = { [ styles . alignSelfCenter , styles . w100 ] } >
143
153
< DisplayNames
0 commit comments