Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3383558
D7722.id26198.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
630 B
Referenced Files
None
Subscribers
None
D7722.id26198.diff
View Options
diff --git a/native/components/community-pill.react.js b/native/components/community-pill.react.js
--- a/native/components/community-pill.react.js
+++ b/native/components/community-pill.react.js
@@ -46,13 +46,12 @@
keyserverOperatorUsername,
]);
+ const roundCorners = React.useMemo(() => ({ left: false, right: true }), []);
+
return (
<View style={styles.container}>
{keyserverOperatorLabel}
- <ThreadPill
- threadInfo={community}
- roundCorners={{ left: false, right: true }}
- />
+ <ThreadPill threadInfo={community} roundCorners={roundCorners} />
</View>
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 29, 4:38 PM (21 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2597491
Default Alt Text
D7722.id26198.diff (630 B)
Attached To
Mode
D7722: [native] Memoize `roundCorners` in `community-pill`
Attached
Detach File
Event Timeline
Log In to Comment