Skip to content

Commit

Permalink
fix(Cross): [IOAPPX-431] Fix alignment of the dot separator in the `M…
Browse files Browse the repository at this point in the history
…essageListItem` (#6413)
  • Loading branch information
dmnplb authored Nov 18, 2024
1 parent a0d973d commit 161aa90
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 171 deletions.
4 changes: 1 addition & 3 deletions ts/features/messages/components/Home/DS/MessageListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
IOStyles,
IOVisualCostants,
Label,
LabelMini,
LabelSmall,
Tag,
WithTestID
Expand Down Expand Up @@ -146,8 +145,7 @@ export const MessageListItem = ({
</View>
<View style={styles.serviceNameAndMessageTitleContainer}>
<Body numberOfLines={2} style={IOStyles.flex}>
<Label weight="Semibold">{serviceName}</Label>
<LabelMini color="grey-700">{" • "}</LabelMini>
<Label weight="Semibold">{`${serviceName} · `}</Label>
<Label weight="Regular">{messageTitle}</Label>
</Body>
{!isRead && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,27 +688,7 @@ exports[`WrappedMessageListItem should match snapshot, from SEND, read message 1
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down Expand Up @@ -1656,27 +1636,7 @@ exports[`WrappedMessageListItem should match snapshot, from SEND, unread message
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down Expand Up @@ -2800,27 +2760,7 @@ exports[`WrappedMessageListItem should match snapshot, not from SEND, contains p
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down Expand Up @@ -3799,27 +3739,7 @@ exports[`WrappedMessageListItem should match snapshot, not from SEND, contains p
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down Expand Up @@ -4853,27 +4773,7 @@ exports[`WrappedMessageListItem should match snapshot, not from SEND, contains u
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down Expand Up @@ -5723,27 +5623,7 @@ exports[`WrappedMessageListItem should match snapshot, not from SEND, contains u
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down Expand Up @@ -6527,27 +6407,7 @@ exports[`WrappedMessageListItem should match snapshot, not from SEND, not a paym
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down Expand Up @@ -7276,27 +7136,7 @@ exports[`WrappedMessageListItem should match snapshot, not from SEND, not a paym
]
}
>
Service name
</Text>
<Text
allowFontScaling={false}
dynamicTypeRamp="footnote"
maxFontSizeMultiplier={1.25}
style={
[
{},
{
"color": "#555C70",
"fontFamily": "Titillium Sans Pro",
"fontSize": 12,
"fontStyle": "normal",
"fontWeight": "600",
"lineHeight": 18,
},
]
}
>
Service name ·
</Text>
<Text
allowFontScaling={false}
Expand Down

0 comments on commit 161aa90

Please sign in to comment.