mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 00:35:25 +08:00
fixed active theme check not showing on the commandline
This commit is contained in:
parent
54264da201
commit
43a6625fba
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@ function update(themes: MonkeyTypes.Theme[]): void {
|
|||
subgroup.list.push({
|
||||
id: "changeTheme" + capitalizeFirstLetterOfEachWord(theme),
|
||||
display: theme.replace(/_/g, " "),
|
||||
configValue: theme,
|
||||
hover: (): void => {
|
||||
// previewTheme(theme);
|
||||
ThemeController.preview(theme, false);
|
||||
|
@ -39,6 +40,7 @@ function update(themes: MonkeyTypes.Theme[]): void {
|
|||
subgroup.list.push({
|
||||
id: "changeTheme" + capitalizeFirstLetterOfEachWord(theme.name),
|
||||
display: theme.name.replace(/_/g, " "),
|
||||
configValue: theme.name,
|
||||
hover: (): void => {
|
||||
// previewTheme(theme.name);
|
||||
ThemeController.preview(theme.name, false);
|
||||
|
|
Loading…
Reference in a new issue