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.
This commit is contained in:
Pascal Precht 2021-11-01 10:19:54 +01:00 committed by Iuri Matias
parent 2536610938
commit a25a3535c1
1 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,7 @@ Item {
//% "Please set a name for your device." //% "Please set a name for your device."
text: qsTrId("pairing-please-set-a-name") text: qsTrId("pairing-please-set-a-name")
font.pixelSize: 14 font.pixelSize: 14
color: Theme.palette.directColor1
} }
Input { Input {
@ -114,6 +115,7 @@ Item {
anchors.topMargin: 6 anchors.topMargin: 6
anchors.left: advertiseImg.right anchors.left: advertiseImg.right
anchors.leftMargin: Style.current.padding anchors.leftMargin: Style.current.padding
color: Theme.palette.directColor1
} }
MouseArea { MouseArea {
@ -159,6 +161,7 @@ Item {
text: qsTrId("paired-devices") text: qsTrId("paired-devices")
font.pixelSize: 16 font.pixelSize: 16
font.weight: Font.Bold font.weight: Font.Bold
color: Theme.palette.directColor1
} }
ListView { ListView {
@ -197,6 +200,7 @@ Item {
font.pixelSize: 14 font.pixelSize: 14
anchors.left: enabledIcon.right anchors.left: enabledIcon.right
anchors.leftMargin: Style.current.padding anchors.leftMargin: Style.current.padding
color: Theme.palette.directColor1
} }
StatusSwitch { StatusSwitch {
id: devicePairedSwitch id: devicePairedSwitch