Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fix: redraw issue in foldercontainer

Ilian Sapundshievf1a2e86df1d0
diff --git a/app/components/FolderContainer.tsx b/app/components/FolderContainer.tsx
index 98fc38717..575540290 100644
--- a/app/components/FolderContainer.tsx
+++ b/app/components/FolderContainer.tsx
@@ -684,6 +684,7 @@ function mapActionCreatorsToProps(dispatch) {
const areEqual = (prevProp: Props, nextProp: Props) =>
// nextProp.rightPanelWidth === prevProp.rightPanelWidth &&
+ nextProp.settings.currentTheme === prevProp.settings.currentTheme &&
nextProp.drawerOpened === prevProp.drawerOpened &&
nextProp.isDesktopMode === prevProp.isDesktopMode &&
nextProp.currentDirectoryPath === prevProp.currentDirectoryPath &&