Set HEV tunnel preference default to true

Changed the default value of the HEV tunnel setting to true across the app, including preference XML, settings UI, config manager, and view model. This ensures that the HEV tunnel is enabled by default for new users and maintains consistent default behavior throughout the application.
This commit is contained in:
2dust
2025-11-01 11:29:08 +08:00
parent b5146e4712
commit 051520de37
5 changed files with 9 additions and 8 deletions
@@ -470,7 +470,7 @@ object V2rayConfigManager {
)
}
if (MmkvManager.decodeSettingsBool(AppConfig.PREF_USE_HEV_TUNNEL) == false) {
if (MmkvManager.decodeSettingsBool(AppConfig.PREF_USE_HEV_TUNNEL ,true) == false) {
// DNS inbound
val remoteDns = SettingsManager.getRemoteDnsServers()