Browse Source

add Native as a titlebar option

master
gelaechter 3 years ago
committed by Jeff
parent
commit
fa73a6b85a
  1. 4
      src/components/settings/ConfigPanels/LookAndFeelConfig.tsx
  2. 2
      src/redux/miscSlice.ts

4
src/components/settings/ConfigPanels/LookAndFeelConfig.tsx

@ -365,6 +365,10 @@ export const ThemeConfigPanel = ({ bordered }: any) => {
label: 'Windows', label: 'Windows',
value: 'windows', value: 'windows',
}, },
{
label: 'Native',
value: 'native',
},
]} ]}
cleanable={false} cleanable={false}
defaultValue={String(settings.getSync('titleBarStyle'))} defaultValue={String(settings.getSync('titleBarStyle'))}

2
src/redux/miscSlice.ts

@ -51,7 +51,7 @@ export interface General {
highlightOnRowHover: boolean; highlightOnRowHover: boolean;
imageCachePath: string; imageCachePath: string;
songCachePath: string; songCachePath: string;
titleBar: 'windows' | 'mac' | string; titleBar: 'windows' | 'mac' | 'native' | string;
searchQuery: string; searchQuery: string;
} }

Loading…
Cancel
Save