Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3528799
D7447.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7447.diff
View Options
diff --git a/native/chat/composed-message.react.js b/native/chat/composed-message.react.js
--- a/native/chat/composed-message.react.js
+++ b/native/chat/composed-message.react.js
@@ -85,9 +85,14 @@
containerMarginBottom += clusterEndHeight;
}
+ const highlightStyle =
+ id && this.props.inputState?.editState.editedMessage?.id === id
+ ? { backgroundColor: `#${item.threadInfo.color}40` }
+ : null;
+
const containerStyle = [
- styles.alignment,
{ marginBottom: containerMarginBottom },
+ highlightStyle,
];
const swipeableMessageBoxStyle = [
styles.swipeableContainer,
@@ -188,12 +193,14 @@
<MessageHeader item={item} focused={focused} display="lowContrast" />
</AnimatedView>
<View style={containerStyle}>
- <View style={[styles.content, alignStyle]}>
- {deliveryIcon}
- {messageBox}
+ <View style={styles.alignment}>
+ <View style={[styles.content, alignStyle]}>
+ {deliveryIcon}
+ {messageBox}
+ </View>
+ {failedSendInfo}
+ {inlineEngagement}
</View>
- {failedSendInfo}
- {inlineEngagement}
</View>
</View>
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 10:27 AM (16 m, 40 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2702530
Default Alt Text
D7447.diff (1 KB)
Attached To
Mode
D7447: [native] Highlighting edited message
Attached
Detach File
Event Timeline
Log In to Comment