From 60904b9fde98e23284219feed03b70b4a0f1f21f Mon Sep 17 00:00:00 2001 From: dranik Date: Mon, 15 Jun 2026 17:32:17 +0300 Subject: [PATCH] fixed UI 'Transport mode' 'Share QR Code' --- client/ui/qml/Pages2/PageServiceTelemtSettings.qml | 13 +++++++++++-- client/ui/qml/Pages2/PageShareConnection.qml | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/client/ui/qml/Pages2/PageServiceTelemtSettings.qml b/client/ui/qml/Pages2/PageServiceTelemtSettings.qml index 2cec630d5..761dcc277 100644 --- a/client/ui/qml/Pages2/PageServiceTelemtSettings.qml +++ b/client/ui/qml/Pages2/PageServiceTelemtSettings.qml @@ -1005,17 +1005,26 @@ PageType { } } + CaptionTextType { + Layout.fillWidth: true + Layout.leftMargin: 16 + Layout.rightMargin: 16 + Layout.topMargin: 16 * 2 + text: qsTr("Transport mode") + color: AmneziaStyle.color.mutedGray + font.pixelSize: 12 + } + DropDownType { id: transportModeDropDown Layout.fillWidth: true - Layout.topMargin: 16 * 2 Layout.leftMargin: 16 Layout.rightMargin: 16 Layout.bottomMargin: 16 drawerParent: root drawerHeight: 0.35 - descriptionText: qsTr("Transport mode") + headerText: qsTr("Transport mode") text: transportMode === "faketls" ? qsTr("FakeTLS") : qsTr("Standard MTProto") listView: Component { diff --git a/client/ui/qml/Pages2/PageShareConnection.qml b/client/ui/qml/Pages2/PageShareConnection.qml index 20716e83b..3a50ea67c 100644 --- a/client/ui/qml/Pages2/PageShareConnection.qml +++ b/client/ui/qml/Pages2/PageShareConnection.qml @@ -320,7 +320,7 @@ PageType { Layout.rightMargin: 16 visible: isQrCodeVisible horizontalAlignment: Text.AlignHCenter - text: qsTr("To read the QR code in the Amnezia app, select \"Add server\" → \"I have data to connect\" → \"QR code, key or settings file\"") + text: qsTr("To read the QR code in the Amnezia app, tap + in the main menu → 'QR code'") } } }