From 3245b119be5ff577e8ffc387f5e1acfe3317336b Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Wed, 1 Mar 2023 10:49:17 -0500 Subject: [PATCH] Make switches respect accent color --- resources/qml/ToggleButton.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/ToggleButton.qml b/resources/qml/ToggleButton.qml index b7adf21f..20e82ad6 100644 --- a/resources/qml/ToggleButton.qml +++ b/resources/qml/ToggleButton.qml @@ -25,7 +25,7 @@ Switch { width: parent.width - height x: radius y: parent.height / 2 - height / 2 - color: toggleButton.checked ? "skyblue" : "grey" + color: toggleButton.checked ? Nheko.colors.highlight : "grey" border.color: "#cccccc" }