fix: bug where split tunnel settings overwrote tunnel name comment

This commit is contained in:
zaneschepke
2026-06-16 00:41:24 -04:00
parent 944034ac74
commit 2b8610fa8a
@@ -88,7 +88,9 @@ class SplitTunnelViewModel(
editableInterface.copy(includedApplications = included, excludedApplications = excluded)
val updatedProxyConfig = editableConfig.copy(`interface` = updatedInterface)
val updatedConfig = updatedProxyConfig.buildConfig()
tunnelRepository.save(tunnel.copy(quickConfig = updatedConfig.asQuickString()))
tunnelRepository.save(
tunnel.copy(quickConfig = updatedConfig.withName(tunnel.name).asQuickString())
)
postSideEffect(
GlobalSideEffect.Snackbar(StringValue.StringResource(R.string.config_changes_saved))
)