mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-02-20 23:02:14 +00:00
Show guidance regardless of OTP method
This commit is contained in:
parent
1a25102ec3
commit
725168b652
@ -79,7 +79,8 @@ public struct OpenVPNCredentialsView: View {
|
||||
}
|
||||
|
||||
public var body: some View {
|
||||
Group {
|
||||
debugChanges()
|
||||
return Group {
|
||||
if !isAuthenticating {
|
||||
interactiveSection
|
||||
}
|
||||
@ -176,7 +177,7 @@ private extension OpenVPNCredentialsView {
|
||||
if isAuthenticating {
|
||||
return builder.otpMethod.localizedDescription(style: .approachDescription)
|
||||
.nilIfEmpty
|
||||
} else if builder.otpMethod == .none, let providerPurpose {
|
||||
} else if let providerPurpose {
|
||||
switch providerPurpose {
|
||||
case .web:
|
||||
return Strings.Modules.Openvpn.Credentials.Guidance.web
|
||||
|
Loading…
Reference in New Issue
Block a user