diff --git a/apps/readest-app/src/app/library/components/LibraryHeader.tsx b/apps/readest-app/src/app/library/components/LibraryHeader.tsx index d737d557..049c1e20 100644 --- a/apps/readest-app/src/app/library/components/LibraryHeader.tsx +++ b/apps/readest-app/src/app/library/components/LibraryHeader.tsx @@ -95,7 +95,7 @@ const LibraryHeader: React.FC = ({ cleanupTrafficLightListeners(); }; // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); + }, [appService?.hasTrafficLight]); const windowButtonVisible = appService?.hasWindowBar && !isTrafficLightVisible; const isInGroupView = !!searchParams?.get('group');