From 054e83713941065ca17546ff4896d3ad5bd66329 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Mon, 6 Jan 2025 12:51:26 +0100 Subject: [PATCH] Move "readerType" "Webtoon" value migration to 3rd migration Does not matter since it will only affect stable users which haven't had these migrations applied yet anyway --- src/modules/metadata/Metadata.constants.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/modules/metadata/Metadata.constants.ts b/src/modules/metadata/Metadata.constants.ts index 9ac7514662..ee613dbc2c 100644 --- a/src/modules/metadata/Metadata.constants.ts +++ b/src/modules/metadata/Metadata.constants.ts @@ -253,7 +253,7 @@ export const METADATA_MIGRATIONS: IMetadataMigration[] = [ { key: 'readerType', oldValue: 'Webtoon', - newValue: `${ReadingMode.CONTINUOUS_VERTICAL}`, + newValue: `${ReadingMode.WEBTOON}`, }, { key: 'readerType', @@ -306,13 +306,6 @@ export const METADATA_MIGRATIONS: IMetadataMigration[] = [ ], }, { - values: [ - { - key: 'readerType', - oldValue: 'Webtoon', - newValue: `${ReadingMode.WEBTOON}`, - }, - ], deleteKeys: ['pageScaleMode', 'shouldStretchPage', 'readerWidth'], }, ];