Media Gallery: Scroll down and into the past
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
6f83043eb4
commit
0d5a480c1b
32 changed files with 844 additions and 887 deletions
|
@ -181,7 +181,7 @@ export function Lightbox({
|
|||
const mediaItem = media[selectedIndex];
|
||||
const { attachment, message, index } = mediaItem;
|
||||
|
||||
saveAttachment(attachment, message.sent_at, index + 1);
|
||||
saveAttachment(attachment, message.sentAt, index + 1);
|
||||
},
|
||||
[isViewOnce, media, saveAttachment, selectedIndex]
|
||||
);
|
||||
|
@ -828,7 +828,7 @@ function LightboxHeader({
|
|||
<div className="Lightbox__header--content">
|
||||
<div className="Lightbox__header--name">{conversation.title}</div>
|
||||
<div className="Lightbox__header--timestamp">
|
||||
{formatDateTimeForAttachment(i18n, message.sent_at ?? now)}
|
||||
{formatDateTimeForAttachment(i18n, message.sentAt ?? now)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue