Skip to content

Commit

Permalink
fix(bookmark): disable readerActions.bookmark actions from main/libra…
Browse files Browse the repository at this point in the history
…ry sync process (Fixes #2745)
  • Loading branch information
panaC committed Jan 6, 2025
1 parent 87d078e commit bba3d0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/main/redux/middleware/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ const SYNCHRONIZABLE_ACTIONS: string[] = [
themeActions.setTheme.ID,
versionUpdateActions.notify.ID,

readerActions.bookmark.pop.ID,
readerActions.bookmark.push.ID,
readerActions.bookmark.update.ID,
// readerActions.bookmark.pop.ID,
// readerActions.bookmark.push.ID,
// readerActions.bookmark.update.ID,

readerActions.annotation.pop.ID,
readerActions.annotation.push.ID,
Expand Down
8 changes: 4 additions & 4 deletions src/renderer/library/redux/middleware/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const SYNCHRONIZABLE_ACTIONS: string[] = [
readerActions.detachModeRequest.ID,
readerActions.setReduxState.ID,
// readerActions.saveBookmarkRequest.ID,
readerActions.fullScreenRequest.ID,
// readerActions.fullScreenRequest.ID,

i18nActions.setLocale.ID,

Expand All @@ -50,9 +50,9 @@ const SYNCHRONIZABLE_ACTIONS: string[] = [
publicationActions.readingFinished.ID,
themeActions.setTheme.ID,

readerActions.bookmark.pop.ID,
readerActions.bookmark.push.ID,
readerActions.bookmark.update.ID,
// readerActions.bookmark.pop.ID,
// readerActions.bookmark.push.ID,
// readerActions.bookmark.update.ID,

wizardActions.setWizard.ID,

Expand Down

0 comments on commit bba3d0c

Please sign in to comment.