From 161aa90753ea02eae8489228d894815c9dabe44f Mon Sep 17 00:00:00 2001 From: Damiano Plebani Date: Mon, 18 Nov 2024 16:08:32 +0100 Subject: [PATCH] fix(Cross): [IOAPPX-431] Fix alignment of the dot separator in the `MessageListItem` (#6413) --- .../components/Home/DS/MessageListItem.tsx | 4 +- .../WrappedMessageListItem.test.tsx.snap | 176 +----------------- 2 files changed, 9 insertions(+), 171 deletions(-) diff --git a/ts/features/messages/components/Home/DS/MessageListItem.tsx b/ts/features/messages/components/Home/DS/MessageListItem.tsx index 6b1a6c18674..dad17c9b082 100644 --- a/ts/features/messages/components/Home/DS/MessageListItem.tsx +++ b/ts/features/messages/components/Home/DS/MessageListItem.tsx @@ -8,7 +8,6 @@ import { IOStyles, IOVisualCostants, Label, - LabelMini, LabelSmall, Tag, WithTestID @@ -146,8 +145,7 @@ export const MessageListItem = ({ - - {" • "} + {!isRead && ( diff --git a/ts/features/messages/components/Home/__tests__/__snapshots__/WrappedMessageListItem.test.tsx.snap b/ts/features/messages/components/Home/__tests__/__snapshots__/WrappedMessageListItem.test.tsx.snap index b96e41988fd..0f01c394c83 100644 --- a/ts/features/messages/components/Home/__tests__/__snapshots__/WrappedMessageListItem.test.tsx.snap +++ b/ts/features/messages/components/Home/__tests__/__snapshots__/WrappedMessageListItem.test.tsx.snap @@ -688,27 +688,7 @@ exports[`WrappedMessageListItem should match snapshot, from SEND, read message 1 ] } > - Service name - - - • + Service name · - Service name - - - • + Service name · - Service name - - - • + Service name · - Service name - - - • + Service name · - Service name - - - • + Service name · - Service name - - - • + Service name · - Service name - - - • + Service name · - Service name - - - • + Service name ·