Skip to content

Commit 4903469

Browse files
authored
Merge pull request #968 from ensdomains/fix-theme-toggle
theme menu label
2 parents daa7ea5 + 3635f86 commit 4903469

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

src/components/@molecules/Hamburger/MainMenu.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,16 @@ const MainMenu = ({ setCurrentView }: { setCurrentView: (view: HamburgerView) =>
290290
.run()}
291291
<Typography weight="bold">{t('navigation.theme')}</Typography>
292292
</div>
293+
<div>
294+
<Typography>
295+
{match({ theme, usingSystemTheme })
296+
.with({ usingSystemTheme: true }, () => t('navigation.mode.system'))
297+
.with({ theme: 'dark' }, () => t('navigation.mode.dark'))
298+
.with({ theme: 'light' }, () => t('navigation.mode.light'))
299+
.run()}
300+
</Typography>
301+
<RightChevronSVG height={16} width={16} />
302+
</div>
293303
</HoverableSettingsItem>
294304
<SettingsItem>
295305
<div>

0 commit comments

Comments
 (0)