From bba3d0c5f36139d3e9ef41dbcbd522741c03f42f Mon Sep 17 00:00:00 2001 From: Pierre Leroux Date: Mon, 6 Jan 2025 13:40:28 +0100 Subject: [PATCH] fix(bookmark): disable readerActions.bookmark actions from main/library sync process (Fixes #2745) --- src/main/redux/middleware/sync.ts | 6 +++--- src/renderer/library/redux/middleware/sync.ts | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/redux/middleware/sync.ts b/src/main/redux/middleware/sync.ts index a57fd2f02..1491e9ec4 100644 --- a/src/main/redux/middleware/sync.ts +++ b/src/main/redux/middleware/sync.ts @@ -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, diff --git a/src/renderer/library/redux/middleware/sync.ts b/src/renderer/library/redux/middleware/sync.ts index f92cc9e8d..ae8794bde 100644 --- a/src/renderer/library/redux/middleware/sync.ts +++ b/src/renderer/library/redux/middleware/sync.ts @@ -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, @@ -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,