diff --git a/client/ui/qml/Pages2/PageServiceMtProxySettings.qml b/client/ui/qml/Pages2/PageServiceMtProxySettings.qml index 12790f52f..85efad224 100644 --- a/client/ui/qml/Pages2/PageServiceMtProxySettings.qml +++ b/client/ui/qml/Pages2/PageServiceMtProxySettings.qml @@ -16,7 +16,6 @@ import "../Controls2/TextTypes" import "../Config" import "../Components" - PageType { id: root @@ -884,10 +883,9 @@ PageType { } function mtProxyRemoveAdditionalSecret(idx) { + // Symmetric with "Add additional secret": only mutate the model here; the change + // is pushed to the server on Save (no immediate server update on add/remove). MtProxyConfigModel.removeAdditionalSecret(idx) - if (root.containerStatus === 1) { - root.mtProxyScheduleUpdate(false) - } } SwitcherType { @@ -1118,7 +1116,7 @@ PageType { Layout.leftMargin: 16 Layout.rightMargin: 16 Layout.bottomMargin: 16 - headerText: qsTr("MTProxy bot tag (optional)") + headerText: qsTr("Promoted channel tag (optional)") textField.placeholderText: qsTr("32 hex chars from @MTProxyBot (e.g. 3b7b2fa9…)") textField.text: tag textField.maximumLength: MtProxyConfigModel.mtProxyBotTagHexLength() diff --git a/client/ui/qml/Pages2/PageServiceTelemtSettings.qml b/client/ui/qml/Pages2/PageServiceTelemtSettings.qml index 9f29eec90..8fb51e82e 100644 --- a/client/ui/qml/Pages2/PageServiceTelemtSettings.qml +++ b/client/ui/qml/Pages2/PageServiceTelemtSettings.qml @@ -304,9 +304,6 @@ PageType { root.savedPublicHost = TelemtConfigModel.getPublicHost() root.telemtRefreshPersistedAdditionalSecrets() PageController.showNotificationMessage(message) - if (closePage) { - PageController.closePage() - } } function onInstallationErrorOccurred() { @@ -1084,11 +1081,6 @@ PageType { } textField.onEditingFinished: { textField.text = TelemtConfigModel.sanitizePortFieldText(textField.text) - var portValue = textField.text === "" ? TelemtConfigModel.defaultPort() : textField.text - if (portValue !== port) { - port = portValue - TelemtConfigModel.setPort(port) - } } } @@ -1208,7 +1200,7 @@ PageType { Layout.bottomMargin: 16 drawerParent: root - drawerHeight: 0.35 + drawerHeight: 0.4 headerText: qsTr("Transport mode") text: transportMode === "faketls" ? qsTr("FakeTLS") : qsTr("Standard MTProto")