only set ml_sm for groupchats
This commit is contained in:
@@ -437,10 +437,8 @@ let MessageItem = ({
|
|||||||
<Animated.View
|
<Animated.View
|
||||||
accessibilityHint={l`Double tap or long press the message to add a reaction`}
|
accessibilityHint={l`Double tap or long press the message to add a reaction`}
|
||||||
style={[
|
style={[
|
||||||
!isFromSelf && a.ml_sm,
|
!isFromSelf && isGroupChat && a.ml_sm,
|
||||||
...(isOnlyEmoji(message.text)
|
!isOnlyEmoji(message.text) && [
|
||||||
? []
|
|
||||||
: [
|
|
||||||
a.rounded_xl,
|
a.rounded_xl,
|
||||||
a.py_sm,
|
a.py_sm,
|
||||||
a.px_md,
|
a.px_md,
|
||||||
@@ -457,7 +455,7 @@ let MessageItem = ({
|
|||||||
},
|
},
|
||||||
isFromSelf ? a.self_end : a.self_start,
|
isFromSelf ? a.self_end : a.self_start,
|
||||||
borderRadiusStyle,
|
borderRadiusStyle,
|
||||||
]),
|
],
|
||||||
]}>
|
]}>
|
||||||
<RichText
|
<RichText
|
||||||
value={rt}
|
value={rt}
|
||||||
|
|||||||
Reference in New Issue
Block a user