fixed UI 'Transport mode' 'Share QR Code'

This commit is contained in:
dranik
2026-06-15 17:32:17 +03:00
parent cc404378f9
commit 60904b9fde
2 changed files with 12 additions and 3 deletions
@@ -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 { DropDownType {
id: transportModeDropDown id: transportModeDropDown
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: 16 * 2
Layout.leftMargin: 16 Layout.leftMargin: 16
Layout.rightMargin: 16 Layout.rightMargin: 16
Layout.bottomMargin: 16 Layout.bottomMargin: 16
drawerParent: root drawerParent: root
drawerHeight: 0.35 drawerHeight: 0.35
descriptionText: qsTr("Transport mode") headerText: qsTr("Transport mode")
text: transportMode === "faketls" ? qsTr("FakeTLS") : qsTr("Standard MTProto") text: transportMode === "faketls" ? qsTr("FakeTLS") : qsTr("Standard MTProto")
listView: Component { listView: Component {
+1 -1
View File
@@ -320,7 +320,7 @@ PageType {
Layout.rightMargin: 16 Layout.rightMargin: 16
visible: isQrCodeVisible visible: isQrCodeVisible
horizontalAlignment: Text.AlignHCenter 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'")
} }
} }
} }