Responding to feedback on the updated visuals (#2549)
* Conversation List Item: timestamp bold only when convo has unread * Preserve the positioning of overlays on re-entry into convo * ConversationListItem: Handle missing and broken thumbnails * Shorten timestamp in left pane for better Android consistency * Update convo last updated if last was expire timer change But not if it was from a sync instead of from you or from a contact. * Make links in quotes the same color as the text * MediaGridItem: Update placeholder icon colors for dark theme * Ensure turning off timer shows 'Timer set to off' in left pane * ConversationListItem: Show unread count in blue circle * Add one pixel margin to blue indicator for text alignment * Ensure replies to voice message can bet sent successfully
This commit is contained in:
parent
60d56cf7e0
commit
643739f65d
13 changed files with 348 additions and 38 deletions
|
@ -44,9 +44,13 @@ export function formatRelativeTime(
|
|||
} else if (diff.days() >= 1 || !isToday(timestamp)) {
|
||||
return timestamp.format(formats.d);
|
||||
} else if (diff.hours() >= 1) {
|
||||
return i18n('hoursAgo', [String(diff.hours())]);
|
||||
const key = extended ? 'hoursAgo' : 'hoursAgoShort';
|
||||
|
||||
return i18n(key, [String(diff.hours())]);
|
||||
} else if (diff.minutes() >= 1) {
|
||||
return i18n('minutesAgo', [String(diff.minutes())]);
|
||||
const key = extended ? 'minutesAgo' : 'minutesAgoShort';
|
||||
|
||||
return i18n(key, [String(diff.minutes())]);
|
||||
}
|
||||
|
||||
return i18n('justNow');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue