center the trigger

This commit is contained in:
Hailey
2024-05-02 12:06:08 -07:00
parent 6723e43d0c
commit 9a2762c237
2 changed files with 28 additions and 25 deletions
@@ -47,6 +47,7 @@ export function ActionsWrapper({
<View
style={[
a.mr_md,
a.justify_center,
{
marginLeft: 'auto',
},
+3 -1
View File
@@ -48,6 +48,7 @@ export function MessageItem({
}, [item, next, isFromSelf, isNextFromSelf])
return (
<View>
<ActionsWrapper isFromSelf={isFromSelf} message={item}>
<View
style={[
@@ -74,11 +75,12 @@ export function MessageItem({
{item.text}
</Text>
</View>
</ActionsWrapper>
<MessageItemMetadata
message={item}
isLastInGroup={isLastInGroup}
style={isFromSelf ? a.text_right : a.text_left}
/>
</ActionsWrapper>
</View>
)
}