Formatting: A few more changes

This commit is contained in:
Scott Nonnenberg 2023-05-09 18:23:56 -07:00 committed by GitHub
parent b4caf67bf9
commit 2177a79080
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 393 additions and 159 deletions

View file

@ -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