[Clipclops] Pending message style with layout animation (#3844)
* decrease group gap to 3 mins * pending style with layout animation * make pending state lighter
This commit is contained in:
parent
55f3df5596
commit
6a4199febb
2 changed files with 23 additions and 7 deletions
|
@ -57,7 +57,13 @@ function RetryButton({onPress}: {onPress: () => unknown}) {
|
|||
|
||||
function renderItem({item}: {item: ConvoItem}) {
|
||||
if (item.type === 'message' || item.type === 'pending-message') {
|
||||
return <MessageItem item={item.message} next={item.nextMessage} />
|
||||
return (
|
||||
<MessageItem
|
||||
item={item.message}
|
||||
next={item.nextMessage}
|
||||
pending={item.type === 'pending-message'}
|
||||
/>
|
||||
)
|
||||
} else if (item.type === 'deleted-message') {
|
||||
return <Text>Deleted message</Text>
|
||||
} else if (item.type === 'pending-retry') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue