1
0
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:
Abhinav Chalise
2025-10-04 17:21:23 +05:45
committed by GitHub
parent 5ada12f989
commit 44d6f8f15c

View File

@@ -881,7 +881,7 @@ Singleton {
function toggle(): string {
root.toggleLightMode()
return root.isLightMode ? "light" : "dark"
return root.isLightMode ? "dark" : "light"
}
function light(): string {