diff --git a/native/chat/message-list-header-title.react.js b/native/chat/message-list-header-title.react.js --- a/native/chat/message-list-header-title.react.js +++ b/native/chat/message-list-header-title.react.js @@ -9,6 +9,7 @@ import { View, Platform } from 'react-native'; import type { ThreadInfo } from 'lib/types/thread-types'; +import { useResolvedThreadInfo } from 'lib/utils/entity-helpers'; import { firstLine } from 'lib/utils/string-utils'; import Button from '../components/button.react'; @@ -26,6 +27,7 @@ type Props = { ...BaseProps, +styles: typeof unboundStyles, + +title: string, }; class MessageListHeaderTitle extends React.PureComponent { render() { @@ -35,6 +37,7 @@ isSearchEmpty, areSettingsEnabled, styles, + title, ...rest } = this.props; @@ -48,8 +51,6 @@ ); } - const title = isSearchEmpty ? 'New Message' : threadInfo.uiName; - return (