diff --git a/plugins/user-settings/src/components/General/UserSettingsThemeToggle.tsx b/plugins/user-settings/src/components/General/UserSettingsThemeToggle.tsx index b7ac5340e4..edd478af5b 100644 --- a/plugins/user-settings/src/components/General/UserSettingsThemeToggle.tsx +++ b/plugins/user-settings/src/components/General/UserSettingsThemeToggle.tsx @@ -142,10 +142,10 @@ export const UserSettingsThemeToggle = () => { const themeId = theme.id; const themeIcon = theme.icon; const themeTitle = - theme.title || - (themeId === 'light' || themeId === 'dark' + themeId === 'light' || themeId === 'dark' ? t(`themeToggle.names.${themeId}`) - : themeId); + : theme.title || themeId; + return (