Move getUntrustedContacts out of conversation_view

This commit is contained in:
Josh Perez 2022-08-16 19:59:11 -04:00 committed by GitHub
parent 96c4cc4bcf
commit 936ce91b2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 410 additions and 414 deletions

View file

@ -14,6 +14,11 @@ import type { PreferredBadgeSelectorType } from '../state/selectors/badges';
import type { LocalizerType, ThemeType } from '../types/Util';
import { isInSystemContacts } from '../util/isInSystemContacts';
export enum SafetyNumberChangeSource {
Calling = 'Calling',
MessageSend = 'MessageSend',
}
export type SafetyNumberProps = {
contactID: string;
onClose: () => void;
@ -75,6 +80,7 @@ export const SafetyNumberChangeDialog = ({
},
]}
i18n={i18n}
noMouseClose
onCancel={onClose}
onClose={noop}
title={i18n('safetyNumberChanges')}