Add support for rendering provider icon in sidebar
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import QtQuick 2.12
|
||||
|
||||
Item {
|
||||
property string name
|
||||
property var provider
|
||||
property bool selected: false
|
||||
|
||||
width: parent.width * 0.9
|
||||
@@ -19,9 +19,13 @@ Item {
|
||||
height: parent.height
|
||||
width: parent.width * 0.02
|
||||
}
|
||||
Image {
|
||||
source: provider.logo
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
Text {
|
||||
font.pointSize: 15
|
||||
text: name
|
||||
text: provider.name
|
||||
color: selected ? "black" : "white"
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user