Fixed this mfking dark mode selector
This commit is contained in:
parent
3afaea7027
commit
75d18e4c1c
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue