added group/direct timestamps

This commit is contained in:
PhilReact 2024-11-14 00:12:58 +02:00
parent bd888afeb6
commit 4527478080

View File

@ -91,6 +91,7 @@ import { DesktopHeader } from "../Desktop/DesktopHeader";
import { Apps } from "../Apps/Apps";
import { AppsNavBar } from "../Apps/AppsNavBar";
import { AppsDesktop } from "../Apps/AppsDesktop";
import { formatEmailDate } from "./QMailMessages";
// let touchStartY = 0;
// let disablePullToRefresh = false;
@ -1731,6 +1732,7 @@ export const Group = ({
</ListItemAvatar>
<ListItemText
primary={direct?.name || direct?.address}
secondary={!direct?.timestamp ? 'no messages' :`last message: ${formatEmailDate(direct?.timestamp)}`}
primaryTypographyProps={{
style: {
color:
@ -1745,6 +1747,7 @@ export const Group = ({
color:
direct?.address === selectedDirect?.address &&
"black",
fontSize: '12px'
},
}}
sx={{
@ -2099,6 +2102,7 @@ export const Group = ({
</ListItemAvatar>
<ListItemText
primary={group.groupName}
secondary={!group?.timestamp ? 'no messages' :`last message: ${formatEmailDate(group?.timestamp)}`}
primaryTypographyProps={{
style: {
color:
@ -2111,6 +2115,7 @@ export const Group = ({
color:
group?.groupId === selectedGroup?.groupId &&
"black",
fontSize: '12px'
},
}}
sx={{