fix(ui): ensure icons in device container have proper theme color
This commit is contained in:
parent
153d37a7dc
commit
f88241e689
|
@ -1,6 +1,7 @@
|
||||||
import QtQuick 2.13
|
import QtQuick 2.13
|
||||||
import QtQuick.Controls 2.13
|
import QtQuick.Controls 2.13
|
||||||
import QtQuick.Layouts 1.13
|
import QtQuick.Layouts 1.13
|
||||||
|
import QtGraphicalEffects 1.13
|
||||||
import "../../../../imports"
|
import "../../../../imports"
|
||||||
import "../../../../shared"
|
import "../../../../shared"
|
||||||
import "../../../../shared/status"
|
import "../../../../shared/status"
|
||||||
|
@ -78,6 +79,11 @@ Item {
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
source: "/app/img/messageActive.svg"
|
source: "/app/img/messageActive.svg"
|
||||||
|
ColorOverlay {
|
||||||
|
anchors.fill: parent
|
||||||
|
source: parent
|
||||||
|
color: Style.current.blue
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
|
@ -162,6 +168,11 @@ Item {
|
||||||
source: "/app/img/" + (devicePairedSwitch.checked ? "messageActive.svg" : "message.svg")
|
source: "/app/img/" + (devicePairedSwitch.checked ? "messageActive.svg" : "message.svg")
|
||||||
height: 24
|
height: 24
|
||||||
width: 24
|
width: 24
|
||||||
|
ColorOverlay {
|
||||||
|
anchors.fill: parent
|
||||||
|
source: parent
|
||||||
|
color: Style.current.blue
|
||||||
|
}
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
id: deviceItemLbl
|
id: deviceItemLbl
|
||||||
|
|
Loading…
Reference in New Issue