Leave digest editable despite cipher

Fixes #74
This commit is contained in:
Davide De Rosa 2019-04-27 09:31:12 +02:00
parent 14333a1ccf
commit 006f1f0a25
2 changed files with 2 additions and 11 deletions

View File

@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- UDP may disconnect on high speeds. [tunnelkit#87](https://github.com/keeshux/tunnelkit/issues/87)
- SoftEther connects without VPN icon. [#69](https://github.com/passepartoutvpn/passepartout-ios/issues/69)
- Misleading Mullvad password suggestion. [#75](https://github.com/passepartoutvpn/passepartout-ios/issues/75)
- Leave digest editable despite cipher. [#74](https://github.com/passepartoutvpn/passepartout-ios/issues/74)
## 1.5.0 (2019-04-17)

View File

@ -251,13 +251,7 @@ extension ConfigurationViewController: UITableViewDataSource, UITableViewDelegat
case .digest:
cell.leftText = L10n.Configuration.Cells.Digest.caption
if !configuration.fallbackCipher.embedsDigest {
cell.rightText = configuration.fallbackDigest.description
} else {
cell.rightText = L10n.Configuration.Cells.Digest.Value.embedded
cell.accessoryType = .none
cell.isTappable = false
}
case .resetOriginal:
cell.leftText = L10n.Configuration.Cells.ResetOriginal.caption
@ -394,10 +388,6 @@ extension ConfigurationViewController: UITableViewDataSource, UITableViewDelegat
navigationController?.pushViewController(vc, animated: true)
case .digest:
guard !configuration.fallbackCipher.embedsDigest else {
return
}
let vc = OptionViewController<SessionProxy.Digest>()
vc.title = settingCell?.leftText
vc.options = [.sha1, .sha224, .sha256, .sha384, .sha512]