Rename titlebar to windowbar

This commit is contained in:
jeffvli 2023-03-29 14:54:10 -07:00
parent 4332a9ea3a
commit 930bbb33fd

View file

@ -27,7 +27,7 @@ const SIDE_QUEUE_OPTIONS = [
{ label: 'Floating', value: 'sideDrawerQueue' }, { label: 'Floating', value: 'sideDrawerQueue' },
]; ];
const TITLEBAR_OPTIONS = [ const WINDOWBAR_OPTIONS = [
{ label: 'Web (hidden)', value: Platform.WEB }, { label: 'Web (hidden)', value: Platform.WEB },
{ label: 'Windows', value: Platform.WINDOWS }, { label: 'Windows', value: Platform.WINDOWS },
{ label: 'macOS', value: Platform.MACOS }, { label: 'macOS', value: Platform.MACOS },
@ -41,7 +41,7 @@ export const GeneralTab = () => {
{ {
control: ( control: (
<Select <Select
data={TITLEBAR_OPTIONS} data={WINDOWBAR_OPTIONS}
disabled={!isElectron()} disabled={!isElectron()}
value={settings.windowBarStyle} value={settings.windowBarStyle}
onChange={(e) => { onChange={(e) => {
@ -55,9 +55,9 @@ export const GeneralTab = () => {
}} }}
/> />
), ),
description: 'Adjust the style of the titlebar', description: 'Adjust the style of the windowbar',
isHidden: !isElectron(), isHidden: !isElectron(),
title: 'Titlebar style', title: 'Windowbar style',
}, },
{ {
control: ( control: (