Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3498548
D6602.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
782 B
Referenced Files
None
Subscribers
None
D6602.diff
View Options
diff --git a/native/components/thread-pill.react.js b/native/components/thread-pill.react.js
--- a/native/components/thread-pill.react.js
+++ b/native/components/thread-pill.react.js
@@ -3,6 +3,7 @@
import * as React from 'react';
import type { ThreadInfo } from 'lib/types/thread-types';
+import { useResolvedThreadInfo } from 'lib/utils/entity-helpers';
import Pill from './pill.react';
@@ -13,10 +14,11 @@
};
function ThreadPill(props: Props): React.Node {
const { threadInfo, roundCorners, fontSize } = props;
+ const { uiName } = useResolvedThreadInfo(threadInfo);
return (
<Pill
backgroundColor={`#${threadInfo.color}`}
- label={threadInfo.uiName}
+ label={uiName}
roundCorners={roundCorners}
fontSize={fontSize}
/>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 20, 9:33 PM (17 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2683201
Default Alt Text
D6602.diff (782 B)
Attached To
Mode
D6602: [native] Fetch ENS names in ThreadPill
Attached
Detach File
Event Timeline
Log In to Comment