From a25a3535c1446fbda0e20d2cf8985a4606563f99 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Mon, 1 Nov 2021 10:19:54 +0100 Subject: [PATCH] fix(@desktop/profile): make devices view work in darkmode again When we switched to `StatusBaseText` we lost the default theme color. We probably want to consider giving `StatusBaseText` a default theme color similar to `StyledText` did. --- ui/app/AppLayouts/Profile/views/DevicesView.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ui/app/AppLayouts/Profile/views/DevicesView.qml b/ui/app/AppLayouts/Profile/views/DevicesView.qml index a88d9ac96e..e0695743ef 100644 --- a/ui/app/AppLayouts/Profile/views/DevicesView.qml +++ b/ui/app/AppLayouts/Profile/views/DevicesView.qml @@ -39,6 +39,7 @@ Item { //% "Please set a name for your device." text: qsTrId("pairing-please-set-a-name") font.pixelSize: 14 + color: Theme.palette.directColor1 } Input { @@ -114,6 +115,7 @@ Item { anchors.topMargin: 6 anchors.left: advertiseImg.right anchors.leftMargin: Style.current.padding + color: Theme.palette.directColor1 } MouseArea { @@ -159,6 +161,7 @@ Item { text: qsTrId("paired-devices") font.pixelSize: 16 font.weight: Font.Bold + color: Theme.palette.directColor1 } ListView { @@ -197,6 +200,7 @@ Item { font.pixelSize: 14 anchors.left: enabledIcon.right anchors.leftMargin: Style.current.padding + color: Theme.palette.directColor1 } StatusSwitch { id: devicePairedSwitch