Merge pull request #2933 from Utaea/pr

Add support to transport for shadowsocks
This commit is contained in:
2dust authored and GitHub committed 2024-03-16 16:58:20 +08:00
commit 48be736275
3 files changed
+127 -2

No files matched your search

@@ -382,7 +382,8 @@ data class V2rayConfig(
fun getTransportSettingDetails(): List<String>? {
if (protocol.equals(EConfigType.VMESS.name, true)
|| protocol.equals(EConfigType.VLESS.name, true)
|| protocol.equals(EConfigType.TROJAN.name, true)) {
|| protocol.equals(EConfigType.TROJAN.name, true)
|| protocol.equals(EConfigType.SHADOWSOCKS.name, true)) {
val transport = streamSettings?.network ?: return null
return when (transport) {
"tcp" -> {