mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
Fix toggle function to return correct theme mode (#309)
This commit is contained in:
1 parent
5ada12f989
commit
44d6f8f15c
1 file changed
+1
-1
+1
-1
@@ -881,7 +881,7 @@ Singleton {
|
||||
|
||||
function toggle(): string {
|
||||
root.toggleLightMode()
|
||||
return root.isLightMode ? "light" : "dark"
|
||||
return root.isLightMode ? "dark" : "light"
|
||||
}
|
||||
|
||||
function light(): string {
|
||||
|
||||
Reference in new issue
Block a user