Be resilient to invalid incrementalMac value

This commit is contained in:
Fedor Indutny 2025-04-16 11:49:49 -07:00 committed by GitHub
commit 53b16c7484
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 71 additions and 41 deletions

View file

@ -14,7 +14,7 @@ import classNames from 'classnames';
import * as LocaleMatcher from '@formatjs/intl-localematcher';
import type { MediaDeviceSettings } from '../types/Calling';
import type { ExportResultType as BackupExportResultType } from '../services/backups';
import type { ValidationResultType as BackupValidationResultType } from '../services/backups';
import type {
AutoDownloadAttachmentType,
NotificationSettingType,
@ -178,7 +178,7 @@ type PropsFunctionType = {
value: CustomColorType;
}
) => unknown;
validateBackup: () => Promise<BackupExportResultType>;
validateBackup: () => Promise<BackupValidationResultType>;
// Change handlers
onAudioNotificationsChange: CheckboxChangeHandlerType;