Fixed an issue where a curly brace would display in the window title when custom titles were enabled. (#512)
This commit is contained in:
@@ -118,7 +118,7 @@ const filterTitle = (windowtitle: ActiveClient): Record<string, string> => {
|
|||||||
['^$', '', 'Desktop'],
|
['^$', '', 'Desktop'],
|
||||||
|
|
||||||
// Fallback icon
|
// Fallback icon
|
||||||
['(.+)', '', `${capitalizeFirstLetter(windowtitle.class)}}`],
|
['(.+)', '', `${capitalizeFirstLetter(windowtitle.class)}`],
|
||||||
];
|
];
|
||||||
|
|
||||||
const foundMatch = windowTitleMap.find((wt) => RegExp(wt[0]).test(windowtitle.class.toLowerCase()));
|
const foundMatch = windowTitleMap.find((wt) => RegExp(wt[0]).test(windowtitle.class.toLowerCase()));
|
||||||
|
|||||||
Reference in New Issue
Block a user