Display "days ago" in loading screen
This commit is contained in:
parent
c02c8d9640
commit
3264c3d509
17 changed files with 316 additions and 66 deletions
|
@ -37,6 +37,12 @@ export function SmartInbox(): JSX.Element {
|
|||
const isCustomizingPreferredReactions = useSelector(
|
||||
getIsCustomizingPreferredReactions
|
||||
);
|
||||
const envelopeTimestamp = useSelector<StateType, number | undefined>(
|
||||
state => state.inbox.envelopeTimestamp
|
||||
);
|
||||
const firstEnvelopeTimestamp = useSelector<StateType, number | undefined>(
|
||||
state => state.inbox.firstEnvelopeTimestamp
|
||||
);
|
||||
const { hasInitialLoadCompleted } = useSelector<StateType, AppStateType>(
|
||||
state => state.app
|
||||
);
|
||||
|
@ -54,6 +60,8 @@ export function SmartInbox(): JSX.Element {
|
|||
|
||||
return (
|
||||
<Inbox
|
||||
envelopeTimestamp={envelopeTimestamp}
|
||||
firstEnvelopeTimestamp={firstEnvelopeTimestamp}
|
||||
hasInitialLoadCompleted={hasInitialLoadCompleted}
|
||||
i18n={i18n}
|
||||
isCustomizingPreferredReactions={isCustomizingPreferredReactions}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue