lock: add reboot button (#2086)

* lock: added reboot button

* lock: reorder reboot/shutdown buttons

---------

Co-authored-by: end-4 <97237370+end-4@users.noreply.github.com>
This commit is contained in:
Jojo
2025-10-02 23:39:20 +02:00
committed by GitHub
parent e3d596e034
commit 8bc2cf335b
@@ -286,5 +286,21 @@ MouseArea {
color: Appearance.colors.colOnSurfaceVariant
}
}
ToolbarButton {
id: rebootButton
implicitWidth: height
onClicked: Session.reboot()
contentItem: MaterialSymbol {
anchors.centerIn: parent
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
iconSize: 24
text: "restart_alt"
color: Appearance.colors.colOnSurfaceVariant
}
}
}
}