Fixed this mfking dark mode selector

This commit is contained in:
DrMint 2022-08-22 22:59:31 +02:00
parent 3afaea7027
commit 75d18e4c1c
1 changed files with 2 additions and 2 deletions

View File

@ -488,14 +488,14 @@ export const AppLayout = ({
setDarkMode(false);
setSelectedThemeMode(true);
},
active: selectedThemeMode && darkMode,
active: selectedThemeMode && !darkMode,
text: langui.light,
},
{
onClick: () => {
setSelectedThemeMode(false);
},
active: selectedThemeMode,
active: !selectedThemeMode,
text: langui.auto,
},
{