Compare commits

...

1 Commits

Author SHA1 Message Date
dranik
60904b9fde fixed UI 'Transport mode' 'Share QR Code' 2026-06-15 17:32:17 +03:00
2 changed files with 12 additions and 3 deletions

View File

@@ -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 {

View File

@@ -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'")
}
}
}