Make "Match system" on QuickThemeSwitcher.tsx translatable (#7951)

This commit is contained in:
Suguru Hirahara
2022-03-02 16:10:14 +00:00
committed by GitHub
parent b789d252b9
commit 522ad1aafb
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ const QuickThemeSwitcher: React.FC<Props> = ({ requestClose }) => {
const themeOptions = [{
id: MATCH_SYSTEM_THEME_ID,
name: 'Match system',
name: _t("Match system"),
}, ...orderedThemes];
const selectedTheme = useSystemTheme ? MATCH_SYSTEM_THEME_ID : theme;