Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32519036
D3971.1767128047.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3971.1767128047.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
@@ -131,13 +131,9 @@
let inlineSidebar = null;
if (item.threadCreatedFromMessage) {
- const positioning = isViewer ? 'right' : 'left';
inlineSidebar = (
<View style={styles.inlineSidebar}>
- <InlineSidebar
- threadInfo={item.threadCreatedFromMessage}
- positioning={positioning}
- />
+ <InlineSidebar threadInfo={item.threadCreatedFromMessage} />
</View>
);
}
diff --git a/native/chat/inline-sidebar.react.js b/native/chat/inline-sidebar.react.js
--- a/native/chat/inline-sidebar.react.js
+++ b/native/chat/inline-sidebar.react.js
@@ -13,7 +13,6 @@
type Props = {
+threadInfo: ThreadInfo,
- +positioning: 'left' | 'center' | 'right',
};
function InlineSidebar(props: Props): React.Node {
const { threadInfo } = props;
diff --git a/native/chat/robotext-message.react.js b/native/chat/robotext-message.react.js
--- a/native/chat/robotext-message.react.js
+++ b/native/chat/robotext-message.react.js
@@ -54,10 +54,7 @@
if (item.threadCreatedFromMessage) {
inlineSidebar = (
<View style={styles.sidebar}>
- <InlineSidebar
- threadInfo={item.threadCreatedFromMessage}
- positioning="center"
- />
+ <InlineSidebar threadInfo={item.threadCreatedFromMessage} />
</View>
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 30, 8:54 PM (10 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5869928
Default Alt Text
D3971.1767128047.diff (1 KB)
Attached To
Mode
D3971: [refactor] [native] [ENG-530] Remove positioning prop from InlineSidebar component
Attached
Detach File
Event Timeline
Log In to Comment