Stop round-tripping wallpaper data

This commit is contained in:
trevor-signal
2025-07-17 11:20:00 -04:00
committed by GitHub
parent e6a57f69d8
commit f471b75a5f
5 changed files with 201 additions and 12 deletions

13
ts/types/Storage.d.ts vendored
View File

@@ -78,12 +78,6 @@ export type StorageAccessType = {
blocked: ReadonlyArray<string>;
defaultConversationColor: DefaultConversationColorType;
// Not used UI, stored as is when imported from backup.
defaultWallpaperPhotoPointer: Uint8Array;
defaultWallpaperPreset: number;
defaultDimWallpaperInDarkMode: boolean;
defaultAutoBubbleColor: boolean;
customColors: CustomColorsItemType;
device_name: string;
existingOnboardingStoryMessageIds: ReadonlyArray<string> | undefined;
@@ -250,6 +244,13 @@ export type StorageAccessType = {
avatarsHaveBeenMigrated: boolean;
// Test-only
// Not used UI, stored as is when imported from backup during tests
defaultWallpaperPhotoPointer: Uint8Array;
defaultWallpaperPreset: number;
defaultDimWallpaperInDarkMode: boolean;
defaultAutoBubbleColor: boolean;
// Deprecated
'challenge:retry-message-ids': never;
nextSignedKeyRotationTime: number;