Skip to content

Commit

Permalink
Move "readerType" "Webtoon" value migration to 3rd migration
Browse files Browse the repository at this point in the history
Does not matter since it will only affect stable users which haven't had these migrations applied yet anyway
  • Loading branch information
schroda committed Jan 6, 2025
1 parent feebd93 commit 054e837
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/modules/metadata/Metadata.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const METADATA_MIGRATIONS: IMetadataMigration[] = [
{
key: 'readerType',
oldValue: 'Webtoon',
newValue: `${ReadingMode.CONTINUOUS_VERTICAL}`,
newValue: `${ReadingMode.WEBTOON}`,
},
{
key: 'readerType',
Expand Down Expand Up @@ -306,13 +306,6 @@ export const METADATA_MIGRATIONS: IMetadataMigration[] = [
],
},
{
values: [
{
key: 'readerType',
oldValue: 'Webtoon',
newValue: `${ReadingMode.WEBTOON}`,
},
],
deleteKeys: ['pageScaleMode', 'shouldStretchPage', 'readerWidth'],
},
];

0 comments on commit 054e837

Please sign in to comment.