Import/export chat styles
This commit is contained in:
parent
6fb76e00c4
commit
8f2061e11d
15 changed files with 663 additions and 47 deletions
|
@ -170,12 +170,14 @@ export type ConversationColorType =
|
|||
| typeof ConversationColors[number]
|
||||
| 'custom';
|
||||
|
||||
export type CustomColorDataType = {
|
||||
id: string;
|
||||
value: CustomColorType;
|
||||
};
|
||||
|
||||
export type DefaultConversationColorType = {
|
||||
color: ConversationColorType;
|
||||
customColorData?: {
|
||||
id: string;
|
||||
value: CustomColorType;
|
||||
};
|
||||
customColorData?: CustomColorDataType;
|
||||
};
|
||||
|
||||
export const DEFAULT_CONVERSATION_COLOR: DefaultConversationColorType = {
|
||||
|
|
5
ts/types/Storage.d.ts
vendored
5
ts/types/Storage.d.ts
vendored
|
@ -64,6 +64,11 @@ export type StorageAccessType = {
|
|||
attachmentMigration_lastProcessedIndex: number;
|
||||
blocked: ReadonlyArray<string>;
|
||||
defaultConversationColor: DefaultConversationColorType;
|
||||
|
||||
// Not used UI, stored as is when imported from backup.
|
||||
defaultWallpaperPhotoPointer: Uint8Array;
|
||||
defaultWallpaperPreset: number;
|
||||
|
||||
customColors: CustomColorsItemType;
|
||||
device_name: string;
|
||||
existingOnboardingStoryMessageIds: ReadonlyArray<string> | undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue