From b590636303e0ee253bb7a5bb790f3a54262b28a5 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Fri, 31 Mar 2023 05:06:54 -0700 Subject: [PATCH] Fix invalid import --- src/renderer/hooks/use-should-pad-titlebar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/renderer/hooks/use-should-pad-titlebar.tsx b/src/renderer/hooks/use-should-pad-titlebar.tsx index 5e87b3c0..97407c34 100644 --- a/src/renderer/hooks/use-should-pad-titlebar.tsx +++ b/src/renderer/hooks/use-should-pad-titlebar.tsx @@ -1,14 +1,14 @@ import { useLocation } from 'react-router'; import { AppRoute } from '/@/renderer/router/routes'; -import { useSidebarRightExpanded } from '/@/renderer/store'; -import { useGeneralSettings } from '/@/renderer/store/settings.store'; +import { useSidebarRightExpanded, useGeneralSettings, useWindowSettings } from '/@/renderer/store'; import { Platform } from '/@/renderer/types'; export const useShouldPadTitlebar = () => { const location = useLocation(); const isSidebarExpanded = useSidebarRightExpanded(); const isQueuePage = location.pathname === AppRoute.NOW_PLAYING; - const { sideQueueType, windowBarStyle } = useGeneralSettings(); + const { sideQueueType } = useGeneralSettings(); + const { windowBarStyle } = useWindowSettings(); const conditions = [ windowBarStyle === Platform.WEB,