From e6cbf560a065bcbc8ed56ed2f4bd5da87295c83a Mon Sep 17 00:00:00 2001 From: ShootingStarDragons Date: Sat, 8 Jul 2023 20:52:42 +0800 Subject: [PATCH] feat: allow to just input service to sso login --- resources/qml/pages/LoginPage.qml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/qml/pages/LoginPage.qml b/resources/qml/pages/LoginPage.qml index 9bf4e97e..e4deb4d6 100644 --- a/resources/qml/pages/LoginPage.qml +++ b/resources/qml/pages/LoginPage.qml @@ -105,11 +105,10 @@ Item { MatrixTextField { id: hsLabel enabled: visible - visible: login.homeserverNeeded Layout.fillWidth: true label: qsTr("Homeserver address") - placeholderText: qsTr("server.my:8787") + placeholderText: login.homeserverNeeded ? qsTr("need a homeserver, forExample: server.my:8787") : qsTr("martix.org") text: login.homeserver onEditingFinished: login.homeserver = text ToolTip.text: qsTr("The address that can be used to contact you homeserver's client API.\nExample: https://server.my:8787")