rm "Sending..."
This commit is contained in:
@@ -469,23 +469,9 @@ let MessageItemMetadata = ({
|
|||||||
switch (item.type) {
|
switch (item.type) {
|
||||||
case 'pending-message':
|
case 'pending-message':
|
||||||
return item.failed ? (
|
return item.failed ? (
|
||||||
<Text
|
<Text style={[a.text_xs, a.my_2xs, {color: errorColor}, style]}>
|
||||||
style={[
|
<Text style={[a.text_xs, {color: errorColor}]}>
|
||||||
a.text_xs,
|
<Trans>Message failed to send.</Trans>
|
||||||
a.my_2xs,
|
|
||||||
{
|
|
||||||
color: errorColor,
|
|
||||||
},
|
|
||||||
style,
|
|
||||||
]}>
|
|
||||||
<Text
|
|
||||||
style={[
|
|
||||||
a.text_xs,
|
|
||||||
{
|
|
||||||
color: errorColor,
|
|
||||||
},
|
|
||||||
]}>
|
|
||||||
{l`Message failed to send.`}
|
|
||||||
</Text>
|
</Text>
|
||||||
{item.retry && (
|
{item.retry && (
|
||||||
<>
|
<>
|
||||||
@@ -494,27 +480,14 @@ let MessageItemMetadata = ({
|
|||||||
label={l`Click to retry failed message`}
|
label={l`Click to retry failed message`}
|
||||||
to="#"
|
to="#"
|
||||||
onPress={handleRetry}
|
onPress={handleRetry}
|
||||||
style={[
|
style={[a.text_xs, {color: errorColor}]}>
|
||||||
a.text_xs,
|
<Trans>Tap to retry</Trans>
|
||||||
{
|
|
||||||
color: errorColor,
|
|
||||||
},
|
|
||||||
]}>
|
|
||||||
{l`Tap to retry`}
|
|
||||||
</InlineLinkText>
|
</InlineLinkText>
|
||||||
.
|
.
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
</Text>
|
</Text>
|
||||||
) : (
|
) : null
|
||||||
<Text
|
|
||||||
style={[
|
|
||||||
a.text_xs,
|
|
||||||
a.my_2xs,
|
|
||||||
style,
|
|
||||||
t.atoms.text_contrast_high,
|
|
||||||
]}>{l`Sending…`}</Text>
|
|
||||||
)
|
|
||||||
default:
|
default:
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user