1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-06 10:32:44 +00:00

QuickConnect: init

This adds a page in the settings page that allows the user to enter a
quick connect code to allow another device to log in.
This commit is contained in:
Chris Josten 2024-01-02 19:51:27 +01:00
parent 13786f01c9
commit a66434afa8
10 changed files with 242 additions and 3 deletions

View file

@ -106,6 +106,11 @@ Page {
Item { width: 1; height: Theme.paddingLarge; }
ButtonLayout {
Button {
//: This is a name used by Jellyfin and seems to be untranslated in other languages
text: qsTr("Quick Connect")
onClicked: pageStack.push(Qt.resolvedUrl("QuickConnectDialog.qml"))
}
Button {
text: qsTr("Log out")
onClicked: remorse.execute(qsTr("Logging out"), apiClient.deleteSession)