Skip to content

Commit

Permalink
Merge pull request #100 from Unshut-Labs/dj/styling
Browse files Browse the repository at this point in the history
Fix group name for attachments
  • Loading branch information
daria-github authored Jun 20, 2024
2 parents 9a02600 + 8a2ccf9 commit 5e0c922
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions components/Chat/Message/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ function ChatMessage({ message, colorScheme, isGroup, isFrame }: Props) {
default: {
messageContent = (
<>
{isGroup && !message.fromMe && <MessageSender message={message} />}
<ClickableText
style={[
styles.messageText,
Expand Down Expand Up @@ -176,6 +175,7 @@ function ChatMessage({ message, colorScheme, isGroup, isFrame }: Props) {
{message.dateChange && (
<Text style={styles.date}>{getRelativeDate(message.sent)}</Text>
)}
{isGroup && !message.fromMe && <MessageSender message={message} />}
{!showInBubble && messageContent}
{showInBubble && (
<Swipeable
Expand Down Expand Up @@ -459,9 +459,10 @@ const useStyles = () => {
zIndex: -1,
},
groupSender: {
fontSize: 15,
fontWeight: "500",
color: textPrimaryColor(colorScheme),
fontSize: 11,
color: textSecondaryColor(colorScheme),
marginLeft: 24,
marginTop: 16,
},
});
};

0 comments on commit 5e0c922

Please sign in to comment.