fix migration inbound port parsed as 0

This commit is contained in:
2dust
2021-03-27 11:09:24 +08:00
committed by yuhan6665
parent 658b890325
commit 820e6cdf36
2 changed files with 3 additions and 1 deletions

View File

@@ -65,7 +65,7 @@ object AngConfigManager {
AppConfig.PREF_V2RAY_ROUTING_AGENT,
AppConfig.PREF_V2RAY_ROUTING_BLOCKED,
AppConfig.PREF_V2RAY_ROUTING_DIRECT,).forEach { key ->
settingsStorage?.encode(key, sharedPreferences.getString(key, ""))
settingsStorage?.encode(key, sharedPreferences.getString(key, null))
}
listOf(AppConfig.PREF_SPEED_ENABLED,
AppConfig.PREF_SNIFFING_ENABLED,

View File

@@ -5,6 +5,7 @@
<item>aes-128-gcm</item>
<item>auto</item>
<item>none</item>
<item>zero</item>
</string-array>
<string-array name="ss_securitys" translatable="false">
<item>aes-256-cfb</item>
@@ -98,6 +99,7 @@
<item>xtls-rprx-direct</item>
<item>xtls-rprx-direct-udp443</item>
<item>xtls-rprx-splice</item>
<item>xtls-rprx-splice-udp443</item>
</string-array>