Skip to content

Commit

Permalink
Merge pull request #28868 from SrR0b0/fix/28074
Browse files Browse the repository at this point in the history
fix: room avatars attachment modal shouldn't close when avatar image is updated
  • Loading branch information
bondydaa authored Oct 6, 2023
2 parents a0064a9 + 577f5f3 commit 907e65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RoomHeaderAvatars.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function RoomHeaderAvatars(props) {
<View style={[styles.flexRow, styles.wAuto, styles.ml3]}>
{_.map(iconsToDisplay, (icon, index) => (
<View
key={`${icon.source}${index}`}
key={`${icon.id}${index}`}
style={[styles.justifyContentCenter, styles.alignItemsCenter]}
>
<AttachmentModal
Expand Down

0 comments on commit 907e65e

Please sign in to comment.