added masking parameters for native wireguard configs (#743)

Added masking parameters for native wireguard configs
This commit is contained in:
Nethius
2024-04-19 00:23:15 +07:00
committed by GitHub
parent cd2ee00769
commit a8ccea00c7
7 changed files with 139 additions and 22 deletions
@@ -116,6 +116,15 @@ PageType {
}
}
CheckBoxType {
id: cloakingCheckBox
visible: ImportController.isNativeWireGuardConfig()
Layout.fillWidth: true
text: qsTr("Enable WireGuard obfuscation. It may be useful if WireGuard is blocked on your provider.")
}
WarningType {
Layout.topMargin: 16
Layout.fillWidth: true
@@ -164,6 +173,9 @@ PageType {
text: qsTr("Connect")
clickedFunc: function() {
if (cloakingCheckBox.checked) {
ImportController.processNativeWireGuardConfig()
}
ImportController.importConfig()
}
}