Refactor settings store and components

This commit is contained in:
jeffvli 2023-03-30 06:44:33 -07:00
parent 373441e4c6
commit eecbcddea3
30 changed files with 894 additions and 832 deletions

View file

@ -1,7 +1,7 @@
import { Outlet } from 'react-router';
import styled from 'styled-components';
import { Titlebar } from '/@/renderer/features/titlebar/components/titlebar';
import { useGeneralSettings } from '/@/renderer/store/settings.store';
import { useWindowSettings } from '/@/renderer/store/settings.store';
import { Platform } from '/@/renderer/types';
const TitlebarContainer = styled.header`
@ -15,7 +15,7 @@ const TitlebarContainer = styled.header`
`;
export const TitlebarOutlet = () => {
const { windowBarStyle } = useGeneralSettings();
const { windowBarStyle } = useWindowSettings();
return (
<>