fix: address PR reviews

pull/3065/head
Audric Ackermann 2 months ago
parent b5d7a0e5e5
commit ca597d31fd

@ -182,7 +182,7 @@ const MessageStatusSent = ({ dataTestId, messageId }: Omit<Props, 'isDetailView'
const isMostRecentOutgoingMessage = useIsMostRecentOutgoingMessage(messageId);
const isGroup = useSelectedIsGroupOrCommunity();
// we hide the "sent" message status for a non-expiring message unless if it's the most recent outgoing message
// we hide the "sent" message status for a non-expiring messages unless it's the most recent outgoing message
if (!isExpiring && !isMostRecentOutgoingMessage) {
return null;
}

@ -21,18 +21,18 @@ const deleteDbLocally = async () => {
window?.log?.info('store purged');
await deleteAllLogs();
window?.log?.info('ladelete logs');
window?.log?.info('deleteAllLogs: done');
await Data.removeAll();
window?.log?.info('data removeall');
window?.log?.info('Data.removeAll: done');
await Data.close();
window?.log?.info('db closed');
window?.log?.info('Data.close: done');
await Data.removeDB();
window?.log?.info('db removed');
window?.log?.info('Data.removeDB: done');
await Data.removeOtherData();
window?.log?.info('otherdata removed');
window?.log?.info('Data.removeOtherData: done');
window.localStorage.setItem('restart-reason', 'delete-account');
};

Loading…
Cancel
Save