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
This commit is contained in:
schroda
2025-01-06 12:51:26 +01:00
parent feebd93555
commit 054e837139

View File

@@ -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'],
},
];