only set ml_sm for groupchats

This commit is contained in:
Samuel Newman
2026-05-20 15:29:57 +03:00
parent def17dbffd
commit e1defb5567
+3 -5
View File
@@ -437,10 +437,8 @@ let MessageItem = ({
<Animated.View
accessibilityHint={l`Double tap or long press the message to add a reaction`}
style={[
!isFromSelf && a.ml_sm,
...(isOnlyEmoji(message.text)
? []
: [
!isFromSelf && isGroupChat && a.ml_sm,
!isOnlyEmoji(message.text) && [
a.rounded_xl,
a.py_sm,
a.px_md,
@@ -457,7 +455,7 @@ let MessageItem = ({
},
isFromSelf ? a.self_end : a.self_start,
borderRadiusStyle,
]),
],
]}>
<RichText
value={rt}