Add media controls to lockscreen

Code is mostly copypaste from the desktop lnf.
This commit is contained in:
Nicolas Fella 2020-08-01 21:15:09 +02:00
parent 29dda81ac6
commit 7f4f10a994

View file

@ -68,6 +68,18 @@ PlasmaCore.ColorScope {
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
}
MediaControls {
anchors {
left: parent.left
leftMargin: units.gridUnit
right: parent.right
rightMargin: units.gridUnit
verticalCenter: parent.verticalCenter
}
opacity: 1 - (passwordFlickable.contentY / passwordFlickable.columnHeight)
z: 5
}
PlasmaCore.IconItem {
anchors.bottom: parent.bottom
anchors.left: parent.left