Username recovery improvements

This commit is contained in:
Fedor Indutny 2024-02-06 10:35:59 -08:00 committed by GitHub
parent a70ae1060d
commit 533a1b32d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 423 additions and 99 deletions

View file

@ -101,6 +101,7 @@ export type PropsDataType = {
hasTypingIndicators: boolean;
lastSyncTime?: number;
notificationContent: NotificationSettingType;
phoneNumber: string | undefined;
selectedCamera?: string;
selectedMicrophone?: AudioDevice;
selectedSpeaker?: AudioDevice;
@ -325,6 +326,7 @@ export function Preferences({
onWhoCanSeeMeChange,
onWhoCanFindMeChange,
onZoomFactorChange,
phoneNumber = '',
preferredSystemLocales,
removeCustomColor,
removeCustomColorOnConversations,
@ -531,6 +533,10 @@ export function Preferences({
</div>
</div>
<SettingsRow>
<Control
left={i18n('icu:Preferences--phone-number')}
right={phoneNumber}
/>
<Control
left={i18n('icu:Preferences--device-name')}
right={deviceName}