fix(tui): use sentence case for theme mode command palette items (#21192)
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>pull/20934/merge
parent
5d48e7bd44
commit
2549a38a71
|
|
@ -672,7 +672,7 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
|
|||
category: "System",
|
||||
},
|
||||
{
|
||||
title: "Toggle Theme Mode",
|
||||
title: "Toggle theme mode",
|
||||
value: "theme.switch_mode",
|
||||
onSelect: (dialog) => {
|
||||
setMode(mode() === "dark" ? "light" : "dark")
|
||||
|
|
@ -681,7 +681,7 @@ function App(props: { onSnapshot?: () => Promise<string[]> }) {
|
|||
category: "System",
|
||||
},
|
||||
{
|
||||
title: locked() ? "Unlock Theme Mode" : "Lock Theme Mode",
|
||||
title: locked() ? "Unlock theme mode" : "Lock theme mode",
|
||||
value: "theme.mode.lock",
|
||||
onSelect: (dialog) => {
|
||||
if (locked()) unlock()
|
||||
|
|
|
|||
Loading…
Reference in New Issue