Fixed this mfking dark mode selector
This commit is contained in:
parent
3afaea7027
commit
75d18e4c1c
|
@ -488,14 +488,14 @@ export const AppLayout = ({
|
||||||
setDarkMode(false);
|
setDarkMode(false);
|
||||||
setSelectedThemeMode(true);
|
setSelectedThemeMode(true);
|
||||||
},
|
},
|
||||||
active: selectedThemeMode && darkMode,
|
active: selectedThemeMode && !darkMode,
|
||||||
text: langui.light,
|
text: langui.light,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
setSelectedThemeMode(false);
|
setSelectedThemeMode(false);
|
||||||
},
|
},
|
||||||
active: selectedThemeMode,
|
active: !selectedThemeMode,
|
||||||
text: langui.auto,
|
text: langui.auto,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue