From 44d6f8f15cb56a3da6fd759eaa1f213676b0af89 Mon Sep 17 00:00:00 2001 From: Abhinav Chalise Date: Sat, 4 Oct 2025 17:21:23 +0545 Subject: [PATCH] Fix toggle function to return correct theme mode (#309) --- Common/Theme.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Theme.qml b/Common/Theme.qml index c973bf00..ccf2989f 100644 --- a/Common/Theme.qml +++ b/Common/Theme.qml @@ -881,7 +881,7 @@ Singleton { function toggle(): string { root.toggleLightMode() - return root.isLightMode ? "light" : "dark" + return root.isLightMode ? "dark" : "light" } function light(): string {