diff --git a/web/chat/chat-thread-list-item-menu.react.js b/web/chat/chat-thread-list-item-menu.react.js --- a/web/chat/chat-thread-list-item-menu.react.js +++ b/web/chat/chat-thread-list-item-menu.react.js @@ -23,8 +23,10 @@ type Props = { +threadInfo: ThreadInfo, +mostRecentNonLocalMessage: ?string, + +isSubmenu?: boolean, }; function ChatThreadListItemMenu(props: Props): React.Node { + const { isSubmenu = false } = props; const [menuVisible, setMenuVisible] = React.useState(false); const toggleMenu = React.useCallback(() => { @@ -70,10 +72,12 @@ const toggleUnreadStatusButtonText = `Mark as ${ threadInfo.currentUser.unread ? 'read' : 'unread' }`; + + const menuIconSize = isSubmenu ? 16 : 24; return (