Formatting: A few more changes
This commit is contained in:
parent
b4caf67bf9
commit
2177a79080
17 changed files with 393 additions and 159 deletions
|
@ -26,6 +26,7 @@ import {
|
|||
getConversationSelector,
|
||||
getGroupAdminsSelector,
|
||||
getSelectedMessageIds,
|
||||
getTargetedConversationsPanelsCount,
|
||||
isMissingRequiredProfileSharing,
|
||||
} from '../selectors/conversations';
|
||||
import { getPropsForQuote } from '../selectors/message';
|
||||
|
@ -59,6 +60,8 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
const { id } = props;
|
||||
const platform = getPlatform(state);
|
||||
|
||||
const shouldHidePopovers = getTargetedConversationsPanelsCount(state) > 0;
|
||||
|
||||
const conversationSelector = getConversationSelector(state);
|
||||
const conversation = conversationSelector(id);
|
||||
if (!conversation) {
|
||||
|
@ -137,6 +140,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
messageCompositionId,
|
||||
platform,
|
||||
sendCounter,
|
||||
shouldHidePopovers,
|
||||
theme: getTheme(state),
|
||||
|
||||
// AudioCapture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue