mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2025-12-06 05:25:41 -05:00
Fix toggle function to return correct theme mode (#309)
This commit is contained in:
@@ -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