From d87fa3721e0c11b480a9cc14a520562f290acc24 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sun, 5 Jan 2025 14:29:47 +0100 Subject: [PATCH] Migrate old reader settings II --- src/modules/metadata/Metadata.constants.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/modules/metadata/Metadata.constants.ts b/src/modules/metadata/Metadata.constants.ts index 16e23526..9ac75146 100644 --- a/src/modules/metadata/Metadata.constants.ts +++ b/src/modules/metadata/Metadata.constants.ts @@ -305,4 +305,14 @@ export const METADATA_MIGRATIONS: IMetadataMigration[] = [ }, ], }, + { + values: [ + { + key: 'readerType', + oldValue: 'Webtoon', + newValue: `${ReadingMode.WEBTOON}`, + }, + ], + deleteKeys: ['pageScaleMode', 'shouldStretchPage', 'readerWidth'], + }, ];