Some adjustments to AboutContactModal

This commit is contained in:
Fedor Indutny 2024-02-14 12:29:17 -08:00 committed by GitHub
parent 848ed95bda
commit 0fe797e511
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 167 additions and 7 deletions

View file

@ -110,9 +110,10 @@ export function SmartGlobalModalContainer(): JSX.Element {
showSendEditWarningModal,
toggleAboutContactModal,
toggleSignalConnectionsModal,
toggleSafetyNumberModal,
} = useGlobalModalActions();
const { updateSharedGroups } = useConversationsActions();
const { updateSharedGroups, unblurAvatar } = useConversationsActions();
let aboutContactModalProps: AboutContactModalPropsType | undefined;
if (aboutContactModalRawProps) {
@ -122,7 +123,9 @@ export function SmartGlobalModalContainer(): JSX.Element {
conversation,
isSignalConnection: isSignalConnection(conversation),
toggleSignalConnectionsModal,
toggleSafetyNumberModal,
updateSharedGroups,
unblurAvatar,
};
}